Elgg  Version master
maintenance.css.php
Go to the documentation of this file.
1 <?php
6 echo elgg_view('core.css', $vars);
7 
8 ?>
9 /* <style> /**/
10 
11 .elgg-heading-maintenance {
12  font-size: 3rem;
13  line-height: 3rem;
14  color: var(--elgg-text-color-strong);
15  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
16  font-weight: var(--elgg-font-bold-weight);
17 }
18 
19 .elgg-page-maintenance {
20  margin: 0;
21  position: relative;
22  display: flex;
23  justify-content: center;
24  align-items: center;
25  min-height: 100vh;
26 
27  > .elgg-inner {
28  min-width: 30rem;
29  max-width: 50%;
30  min-height: 100%;
31 
32  > .elgg-page-body {
33  padding: 0 1rem;
34  background: #fff;
35  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(0, 0, 0, 0.3);
36 
37  .elgg-layout {
38  min-height: auto;
39  }
40 
41  a {
42  text-decoration: underline;
43  }
44  }
45 
46  > .elgg-page-header {
47  padding: 3rem 0;
48  }
49  }
50 
51  a {
52  text-decoration: none;
53  color: inherit;
54  }
55 
56  .elgg-module {
57  margin: 0;
58  }
59 
60  .elgg-form-login,
61  .elgg-form-account {
62  max-width: none;
63  }
64 }
65 
66 @ifset maintenance-background-image {
67  .elgg-page-maintenance-background {
68  position: absolute;
69  top: 0;
70  left: 0;
71  width: 100%;
72  height: 100%;
73  background-image: url($(maintenance-background-image));
74  background-size: cover;
75  background-repeat: no-repeat;
76  background-position: 50%;
77  background-attachment: fixed;
78  filter: blur(4px);
79  }
80 }
$vars
Definition: theme.php:3
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
Definition: elgglib.php:12
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition: views.php:156