Elgg  Version 3.0
walled_garden.css.php
Go to the documentation of this file.
1 <?php
6 echo elgg_view('core.css');
7 ?>
8 
9 .elgg-page-walled-garden {
10  margin: 0;
11  position: relative;
12  display: flex;
13  justify-content: center;
14  align-items: center;
15  min-height: 100vh;
16 }
17 
18 .elgg-page-walled-garden-background {
19  position: absolute;
20  top: 0;
21  left: 0;
22  width: 100%;
23  height: 100%;
24  background-image: url('graphics/walled_garden.jpg');
25  background-size: cover;
26  background-repeat: no-repeat;
27  background-position: 50%;
28  filter: blur(4px);
29 }
30 
31 .elgg-heading-walled-garden {
32  font-size: 3rem;
33  line-height: 3rem;
34  color: $(text-color-strong);
35  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
36  font-weight: $(font-bold-weight);
37 }
38 
39 .elgg-page-walled-garden > .elgg-inner {
40  width: 30rem;
41  min-height: 100%;
42 }
43 
44 .elgg-page-walled-garden > .elgg-inner > div {
45  &.elgg-page-body {
46  padding: 1.5rem 3rem;
47  background: #fff;
48  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(0, 0, 0, 0.3);
49  }
50  &.elgg-page-header {
51  padding: 3rem 0;
52  }
53  &.elgg-page-footer {
54  background: none;
55  a {
56  color: $(text-color-strong);
57  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
58  font-weight: $(font-bold-weight);
59  }
60  }
61 
62 }
63 
64 .elgg-page-walled-garden .elgg-main {
65  min-height: 0;
66  padding: 0;
67 }
68 
69 .elgg-heading-walled-garden a {
70  text-decoration: none;
71  color: inherit;
72 }
73 
74 .elgg-page-walled-garden .elgg-form-login,
75 .elgg-page-walled-garden .elgg-form-account {
76  max-width: none;
77 }
78 
79 @media $(media-mobile-only) {
80  .elgg-page-walled-garden {
81  width: 100%;
82  float: none;
83  }
84 }
85 
elgg inherit
Definition: elgglib.js:254
elgg echo
Translates a string.
Definition: languages.js:43
function filter(array, term)
$CONFIG url
The full URL where Elgg is installed.
Definition: config.php:38
login(\ElggUser $user, $persistent=false)
Logs in a specified .
Definition: sessions.php:273
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246