-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.css
More file actions
152 lines (128 loc) · 2.68 KB
/
layout.css
File metadata and controls
152 lines (128 loc) · 2.68 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/* @import url('https://fonts.googleapis.com/css?family=Lato:400,700');
@import url('https://fonts.googleapis.com/css?family=Merriweather:700');
@font-face {
font-family: 'Myriad Pro Bold';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Bold'), url('MYRIADPRO-BOLD.woff') format('woff');
} */
:root {
--sun-color: #ffba00;
--moon-color: #2d4c77;
--font-color: #222222;
--primary-color: white;
--secondary-color: #2a2c31;
--header-height: 100px;
}
html {
font: 300 18px/1.6 'Roboto', sans-serif;
}
body.sun {
font-weight: 400;
}
@media (orientation: portrait) {
body {
font: 300 12px/1.6 'Roboto', sans-serif;
}
}
.container {
margin-right: auto;
margin-left: auto;
width: 100%;
}
/*HEADERFOOTER*/
header {
height: var(--header-height);
position: fixed;
width: 100%;
background-color: transparent;
transition: background-color 0.3s ease-in-out;
padding-top: 15px;
padding-bottom: 15px;
padding-right: 15px;
padding-left: 15px;
z-index: 10;
}
.header__logo {
margin-left: 20px;
height: 70px;
width: 70px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
background-image: url(../img/equinox-logo--white.png);
filter: drop-shadow(2px 4px 6px #00000044)
}
.opaque {
background-color: white;
box-shadow: 2px 0px 10px #00000055;
border-bottom: 3px solid var(--moon-color);
}
.opaque .header__logo {
background-image: url(../img/equinox-logo.png);
filter: none;
}
.sun .opaque .header__logo,
.moon .opaque .header__logo {
background-image: url(../img/equinox-logo--white.png);
filter: none;
}
@media screen and (max-width: 600px) {
header {
height: 70px;
}
.header__logo {
height: 40px;
}
}
footer {
min-height: 600px;
position: relative;
width: 100%;
background-color: #222222; /* #818288; */
padding: 5vh 15vw 10px;
color: var(--primary-color);
}
.floatright {
float: right;
}
.floatleft {
float: left;
}
/*MENU NAV*/
nav ul {
list-style: none;
background-color: transparent;
}
nav ul li {
display: inline-block;
padding-top: 15px;
padding-left: 15px;
padding-right: 15px;
font-weight: normal;
}
button.btn.inscriptions-btn,
button.btn.inscription-btn {
color: var(--primary-color);
border: 1px solid;
background-color: #fff0;
}
button.btn.inscriptions-btn:hover,
button.btn.inscription-btn:hover {
border: 1px solid #fff0;
color: var(--font-color);
background-color: var(--primary-color);
}
@media (orientation: portrait) {
.btn {
font-size: 0.7rem;
padding: 0.8em 2em 0.95em;
}
}
@media (max-width: 600px) {
.btn {
font-size: 0.55rem;
padding: 0.65em 2em 0.75em;
border-radius: 2px;
}
}