Elgg  Version master
install.css.php
Go to the documentation of this file.
1 <?php
2 
3 elgg_set_viewtype('default');
4 
5 echo elgg_view('core.css');
6 
7 elgg_set_viewtype('installation');
8 
9 ?>
10 
11 html {
12  min-width: 100vh;
13  background: #0078ac;
14 }
15 
16 body {
17  background: transparent;
18 }
19 
20 .elgg-page {
21  max-width: 50rem;
22  margin: 5rem auto;
23  background: #fff;
24  border-radius: 2px;
25 }
26 
27 .elgg-system-messages {
28  position: relative;
29  top: auto;
30  right: auto;
31  max-width: 100%;
32 }
33 
34 .elgg-layout > .elgg-sidebar-alt {
35  padding: 2rem;
36  max-width: 20rem;
37 }
38 
39 .elgg-layout > .elgg-body {
40  padding: 4rem;
41 }
42 
43 .elgg-page-header {
44  margin-bottom: 2rem;
45  text-align: center;
46 }
47 
48 .elgg-sidebar-alt .elgg-field {
49  padding-left: 2rem;
50 }
51 
52 .elgg-sidebar-alt ol {
53  list-style: decimal;
54  padding-left: 2rem;
55  padding-bottom: 2rem;
56  font-size: 1rem;
57 }
58 
59 .elgg-sidebar-alt ol > li {
60  padding: 0.25rem 0.5rem;
61 }
62 
63 .elgg-sidebar-alt ol > li.present {
64  font-weight: 600;
65  color: #0078ac;
66 }
67 
68 .elgg-sidebar-alt ol > li.past {
69  text-decoration: line-through;
70  color: #ccc;
71 }
72 
73 .elgg-page-footer {
74  min-height: 0;
75  padding: 1rem 2rem;
76  overflow: hidden;
77  border-radius: 0 0 2px 2px;
78 }
79 
80 .elgg-install-nav {
81  display: flex;
82  justify-content: flex-end;
83  margin-top: 4rem;
84 }
85 
86 h1 {
87  border-bottom: 1px solid #dcdcdc;
88  padding: 0 0 1rem 0;
89  margin-bottom: 1rem;
90 }
91 
92 h2, h3 {
93  margin-bottom: 0.5rem;
94 }
elgg_set_viewtype(string $viewtype='')
Manually set the viewtype.
Definition: views.php:60
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition: views.php:156