forked from code-q-web-factory/Neos-Skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
102 lines (86 loc) · 1.51 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/**
* This styles provide a very basic layout.
* It's recommended to replace this with your own frontend tooling.
*/
body {
margin: 0;
padding: 0;
}
/**
* Header Layout
*/
.main-header {
padding: 1rem 1.2rem;
background: #00ADEE;
display: flex;
justify-content: space-between;
}
.logo {
color: white;
font-weight: bold;
text-decoration: none;
}
.navigation {
display: flex;
margin: 0;
padding-left: 0;
list-style: none;
}
.navigation-item {
position: relative;
display: inline-block;
}
.navigation-item a {
color: white;
padding-left: 0.5rem;
text-decoration: none;
}
.navigation-item ul {
/* show level 2 on hover, don't got past level 2 */
display: none;
}
.navigation-item:active ul,
.navigation-item:hover ul,
.navigation-item:focus ul {
position: absolute;
top: 100%;
right: 0;
display: block;
padding: 0.5rem;
background: #00ADEE;
}
.navigation-item--state-active,
.navigation-item--state-current {
text-decoration: underline;
}
/*
* Main Content Layout
*/
.main {
max-width: 800px;
margin: 0 auto;
padding: 0.5rem;
}
.container-image {
width: 100%;
height: auto;
}
/**
* Footer Layout
*/
.main-footer {
padding: 1rem 1.2rem;
background: #00ADEE;
display: flex;
justify-content: space-between;
}
.main-footer > * {
min-width: 3rem;
}
.main-footer a {
color: black;
}
.main-footer .neos-inline-editable.placeholder {
color: black;
font-style: italic;
}