-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flucss.less
42 lines (37 loc) · 1.09 KB
/
flucss.less
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
/* ==========================================================================
Flucss styles by veli.ee
CSS styles based on sunset and sunrise for visitor location. Like F.lux, for the web.
http://veli.ee/flucss
========================================================================== */
// dimmed styles
.sunriseEnd, .solarNoon, .goldenHour, .goldenHourEnd{
background: #fff;
color:#000;
}
.dawn, .sunrise, .sunset, .sunsetStart{
background: #ead4a7;
}
.dusk, .nauticalDusk, .nightEnd, .nauticalDawn{
background: #d6a84e;
}
.night, .nadir{
background: #c27c00;
}
// styles that go to full black at night
// add the class ".fullblack" to your "HTML" element, if you want night to be completely black
.fullblack{
.sunriseEnd, .solarNoon, .goldenHour, .goldenHourEnd{
background: #fff;
}
.dawn, .sunrise, .sunset, .sunsetStart{
background: #d6a84e;
}
.dusk, .nauticalDusk, .nightEnd, .nauticalDawn{
background: #815300;
color:#fff;
}
.night, .nadir{
background: #000;
color:#fff;
}
}