Blame view

web/static/css/main.css 4.77 KB
d8bb09a2   Goutte   Add CSS foundation.
1
/** MIXINS *******************************************************************/
55168c8d   Goutte   Add the static fi...
2

84cb553d   Goutte   Move to material ...
3
4
5
6
.clear {
    clear: both;
}

55168c8d   Goutte   Add the static fi...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.hidden {
    display: none;
}

.justified {
    text-align: justify;
}

.centered {
    text-align: center;
}

.centered-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

d8bb09a2   Goutte   Add CSS foundation.
25
26
/** TYPOGRAPHY ***************************************************************/

f6ed8d85   Goutte   Rework layout as ...
27
header .mdl-layout-title {
d8bb09a2   Goutte   Add CSS foundation.
28
    font-family: 'Baumans', cursive;
d8bb09a2   Goutte   Add CSS foundation.
29
30
31
}

/** LAYOUT *******************************************************************/
55168c8d   Goutte   Add the static fi...
32
33

body {
d8bb09a2   Goutte   Add CSS foundation.
34
    /*background: url('../img/body_background.png') repeat;*/
55168c8d   Goutte   Add the static fi...
35
36
37
38
39
40
41
42
43
}

footer {
    padding-top: 20px;
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
}

6b1f54ee   Goutte   Fix footer.
44
45
46
47
48
49
50
51
52
53
#page-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#content {
    flex: 1;
}

55168c8d   Goutte   Add the static fi...
54
55
/** HEADER ********************************************************************/

8fa9e8e8   Goutte   Hide a CDPP logo ...
56
57
58
59
60
61
62
63
header.header {
    background-image: url("../img/header_logo.png");
    background-repeat: no-repeat;
    background-position: 15px center;
}

.mdl-layout__header-row {
    padding-left: 100px;
55168c8d   Goutte   Add the static fi...
64
65
66
}

#version-number {
55168c8d   Goutte   Add the static fi...
67
    line-height: 112px;
55168c8d   Goutte   Add the static fi...
68
    font-style: italic;
55168c8d   Goutte   Add the static fi...
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
}

/** MENU NAVIGATION ***********************************************************/

nav#menu {
    background-color: #004F8D;
    clear: both;
    overflow: hidden;
}
nav#menu ul {
    margin-left: 0;
    list-style: none;
}
nav#menu ul li {
    float: left;
    border-right: 1px solid #fff;

    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -ms-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
nav#menu ul li.active {
    background-color: #AAC7D6;
}
nav#menu ul li.active:hover {
    background-color: #AAC7D6;
}
nav#menu ul li:hover {
    background-color: #78A0BE;
}
nav#menu ul li.home {
    background-image: url('../img/home_icon.png');
    background-position: center center;
    background-repeat: no-repeat;;
}
nav#menu ul li.home a {
    padding: 10px 20px;
}
nav#menu ul li a {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 1px #000000;
    text-decoration: none;

    line-height: 36px;
    padding: 10px 15px;
}

55168c8d   Goutte   Add the static fi...
120
121
122
/** STYLE *********************************************************************/

a {
d8bb09a2   Goutte   Add CSS foundation.
123
    /*color: #003965;*/
55168c8d   Goutte   Add the static fi...
124
125
126
127
128
129
130
131
132
133
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

abbr[title] {
    border-bottom: 1px dotted #a8caea;
}

d8bb09a2   Goutte   Add CSS foundation.
134
135
136
137
138
139
140
141
/*h2 {*/
    /*font-size: 1.6em;*/
    /*font-weight: normal;*/
    /*text-transform: uppercase;*/
    /*border-bottom: 4px solid #004F8D;*/
    /*padding-bottom: 5px;*/
    /*margin: 15px 0;*/
/*}*/
55168c8d   Goutte   Add the static fi...
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181

code {
    font-family: "courier new", monospace;
    font-size: 0.90em;
    white-space: pre;
}
code.block {
    width: 100%;
    overflow-x: auto;
    display: inline-block;
}

dl {
    border: 3px double #ccc;
    padding: 0.5em;
    margin-top: 15px;
}
dt {
    float: left;
    clear: left;
    width: 210px;
    text-align: right;
    font-weight: bold;
    color: #004F8D;
}
dt:after {
    content: ":";
}
dd {
    margin: 0 0 0 220px;
    padding: 0 0 0.5em 0;
}

ul {
    margin-left: 2.5em;
}
ul li {
    line-height: 1.5em;
}

d8bb09a2   Goutte   Add CSS foundation.
182
183
184
185
/*p {*/
    /*line-height: 1.3em;*/
    /*padding: 10px 0;*/
/*}*/
55168c8d   Goutte   Add the static fi...
186

6b1f54ee   Goutte   Fix footer.
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/** LOADER ********************************************************************/


.loader {
  transform: translate(50vw, 50vh);
  height: 200px;
  width: 200px;
}

.loader .hole {
  margin: -50%;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, -20px -10px 100px #000000 inset;
  background: #f08301;
  -webkit-animation: shadowmove 8s infinite linear;
}

@-webkit-keyframes shadowmove {
  0% {
    box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, -20px -10px 100px #000000 inset;
  }
  50% {
    box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, -220px -110px 100px #000000 inset;
  }
  50.01% {
    box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, 220px 110px 100px #000000 inset;
  }
  75% {
    box-shadow: 0px 0px 30px #111111, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, 220px 110px 100px #000000 inset;
  }
  90% {
    box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, 10px 20px 100px #000000 inset;
  }
}

55168c8d   Goutte   Add the static fi...
224
225
226
227
228
229
230
231
232
/** MEDIA QUERIES *************************************************************/

@media all and (max-width: 980px) {
    #page-container{
        width: 100%;
    }
}

@media all and (max-width: 515px) {
55168c8d   Goutte   Add the static fi...
233
234
235
236
237
238
    dt { width: 130px; }
    dd { margin-left: 140px; }
}

@media all and (max-width: 330px) {
    #version-number { display: none; }
d8bb09a2   Goutte   Add CSS foundation.
239
}