aboutsummaryrefslogtreecommitdiff
path: root/static/styles.sass
blob: 31d7ecc81109930ade2c6cfcbee3aab1a7f65d67 (plain) (blame)
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
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
182
183
184
185
186
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
.static-top
  position: fixed
  top: 0
  right: 0
  left: 0
  z-index: 3

.skip
  display: none !important
  position: absolute
  top: 0
  left: 0
  width: 100%
  font-size: .857143em
  li
    position: absolute
    z-index: 1
    margin: 0
  a
    position: absolute
    left: -9999px
    &:active, &:focus
      display: block
      position: static
      left: 0
      padding: .25em 1em

// text colors

// blunt-force priority, works for now.
.near-white
  color: #f4f4f4  !important

.near-black
  color: #111

.dark-grey
  color: #333

.blue
  color: #357edd

// background colors

.bg-near-white
  background-color: #f4f4f4

.bg-near-black
  background-color: #111

code
  margin-bottom: 1em
  word-wrap: break-word

// hyperlinks and buttons

//#body_content a
//  text-decoration: underline
//  color: #357edd
//  &:link, &:visited
//    text-decoration: underline
//    color: #357edd

a.btn
  text-decoration: none !important
  color: white !important
  &:link, &:visited
    text-decoration: none !important
    color: white !important

h6.description
  font-weight: bold
  letter-spacing: 2px
  color: #999
  border-bottom: 1px solid rgba(0, 0, 0, 0.1)
  padding-bottom: 5px

.profile
  margin-top: 25px
  h1
    font-weight: normal
    font-size: 20px
    margin: 10px 0 0 0
  h2
    font-size: 14px
    font-weight: lighter
    margin-top: 5px
  .img-box
    opacity: 1
    display: block
    position: relative
    min-height: 160px
    &:after
      content: ""
      opacity: 0
      background-color: rgba(0, 0, 0, 0.75)
      position: absolute
      right: 0
      left: 0
      top: 0
      bottom: 0
  .img-none
    text-align: center
    i.fa
      color: #eee
      font-size: 8em

.img-box ul
  position: absolute
  z-index: 2
  bottom: 50px
  text-align: center
  width: 100%
  padding-left: 0px
  height: 0px
  margin: 0px
  opacity: 0

.profile .img-box:after
  -webkit-transition: all 0.5s ease-in-out 0s
  -moz-transition: all 0.5s ease-in-out 0s
  transition: all 0.5s ease-in-out 0s

.img-box
  ul
    -webkit-transition: all 0.5s ease-in-out 0s
    -moz-transition: all 0.5s ease-in-out 0s
    transition: all 0.5s ease-in-out 0s
    li
      -webkit-transition: all 0.5s ease-in-out 0s
      -moz-transition: all 0.5s ease-in-out 0s
      transition: all 0.5s ease-in-out 0s
    i
      font-size: 20px
      letter-spacing: 10px
    li
      width: 30px
      height: 30px
      text-align: center
      color: #88C425
      margin: 2px
      padding: 5px
      display: inline-block
  a
    color: #fff
  &:hover
    &:after, ul
      opacity: 1
  ul a
    -webkit-transition: all 0.3s ease-in-out 0s
    -moz-transition: all 0.3s ease-in-out 0s
    transition: all 0.3s ease-in-out 0s
  a:hover li
    border-color: #fff
    color: #88C425

i.red
  color: #BC0213

.btn-primary
  color: #fff
  background-color: #678
  border-color: #68a

img.distro-logo
  height: 150px

a.btn:hover
  transition: background-color 0.7s
  background-color: #217fae
  border-color: #fff
  color: white !important

body .banner
  color: white
  padding-top: 20px
  padding-bottom: 20px

#body_content .banner a
  color: white

.lang-slector
  float: right
  padding-top: 2mm
  padding-bottom: 4mm
  margin-left: 15px
  margin-right: 15px

html
  overflow-y: scroll

.dark
  background-color: #333
  color: white

.c_acronym
  background-color: #419edb
  color: white
  a
   &:link &:visited
   color: #c1d9f5

footer a
  text-decoration: underline
  color: white
  &:link, &:visited
    text-decoration: underline
    color: white
  &:hover
    transition: background-color 0.3s
    background-color: rgba(100, 100, 100, 0.5)

.c_intro
  min-height: 97vh

// don't show the language selector in the dropdown on mobile devices,
// since it's in the top bar already.

.in .nav-lang
  display: none

.mobile-lang
  margin-left: 5px
  margin-top: 8px

#mybody
  // override ugly bootstrap defaults
  color: black

.btn-dark
  background-color: #999

#mybody nav
  border-radius: 0px
  padding: 10px

.index-logo
  text-align: center

footer
  padding: 2em

#body_content
  .container-wide
    margin-bottom: 2em
    padding-top: 1em
    padding-bottom: 1em
    padding-left: 2em
    padding-right: 2em
  .container
    padding-top: 1em
    padding-bottom: 1em
    padding-left: 2em
    padding-right: 2em
    max-width: 80em
  .jumbotron
    margin-bottom: 0px
  // push footer down
  min-height: 80vh

.adorn_h3_bracket h3::before
  content: "#"
  color: #333
  margin-right: 0.5em

.footer-list
  list-style: none

.cushion-above
  padding-top: 2em

.cushion-below
  padding-bottom: 2em

.invert
  -webkit-filter: invert(100%)
  filter: invert(100%)

.row
  min-width: 50%

header
  text-align: center
  margin-top: 30px
  margin-bottom: 50px

// Notification bar at top of index page
.alert
  display: flex;
  overflow: hidden;
  background-color: #c4453c;
  height: 40px;
  //position: absolute;
  width: 100%;
  align-items: center;
  justify-content: center;

.alert-content
  //position: absolute;
  color: #f6f6f6;
  font: bold 16px/40px sans-serif;
  text-align: center;
  text-decoration: none;


// Some docs are too long, thus there is a need for a subnav.
// Use "subnav" class for the submenu.
// Use "subnav-anchor" class for the a-tags right before a section title.
.subnav
  a.nav-link
    &:link, &:visited
      color: #419edb !important
a.subnav-anchor
  position: relative
  top: -80px