Current section
Files
Jump to
Current section
Files
priv/static/css/app.css
@import url(https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap);
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:after, blockquote:before, q:after, q:before {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
body {
height: 100vh;
background-color: #000;
color: #FFF; }
.layout {
height: 100vh;
width: 100vw;
display: grid;
grid-template-columns: 40% 20% 40%; }
.layout .pane {
padding: 1em; }
.layout .pane.left {
text-align: left; }
.layout .pane.center {
text-align: center; }
.layout .pane.right {
text-align: right; }
.text-align-center {
text-align: center; }
.text-align-left {
text-align: left; }
.text-align-right {
text-align: right; }
.snowhite-modules-clock {
margin-bottom: 1em; }
.snowhite-modules-clock h1 {
font-size: 3em;
font-family: "Roboto Mono", monospace;
margin-bottom: 0.2em; }
.snowhite-modules-clock h2 {
font-size: 1.5em;
font-family: "Roboto Mono", monospace;
font-weight: bold;
text-transform: lowercase; }
.snowhite-modules-weather-current h1, .snowhite-modules-weather-forecast h1 {
font-size: 40pt;
font-family: "Roboto Mono", monospace; }
.snowhite-modules-weather-current h1.temperature::after, .snowhite-modules-weather-forecast h1.temperature::after {
font-size: 20pt; }
.snowhite-modules-weather-current .temperature::after, .snowhite-modules-weather-forecast .temperature::after {
vertical-align: super; }
.snowhite-modules-weather-current .temperature.metric::after, .snowhite-modules-weather-forecast .temperature.metric::after {
content: "C"; }
.snowhite-modules-weather-current .temperature.imperial::after, .snowhite-modules-weather-forecast .temperature.imperial::after {
content: "F"; }
.snowhite-modules-weather-current h2, .snowhite-modules-weather-forecast h2 {
font-size: 18pt;
font-family: "Roboto Mono", monospace;
text-transform: lowercase;
font-weight: bold; }
.snowhite-modules-weather-current h2.temperature::after, .snowhite-modules-weather-forecast h2.temperature::after {
font-size: 14pt; }
.snowhite-modules-weather-current h3, .snowhite-modules-weather-forecast h3 {
font-size: 16pt;
margin-left: 10px;
margin-right: 10px;
font-family: "Roboto", sans-serif; }
.snowhite-modules-weather-current > div, .snowhite-modules-weather-forecast > div {
display: flex;
align-items: center;
justify-content: flex-end; }
.snowhite-modules-weather-current table.forecasts td, .snowhite-modules-weather-forecast table.forecasts td {
text-align: left;
vertical-align: middle; }
.snowhite-modules-rss {
font-family: "Roboto", sans-serif; }
.snowhite-modules-rss ul.feeds > li {
font-weight: bold;
padding-left: 0.4em;
margin-bottom: 1.7em; }
.snowhite-modules-rss ul.news {
margin-top: 0.5em; }
.snowhite-modules-rss ul.news > li {
padding-left: 1em;
font-weight: normal;
margin-bottom: 0.6em;
border-left: 2px solid white;
line-height: 1.4em;
display: flex;
align-items: center; }
.snowhite-modules-rss ul.news > li a {
color: #FFF;
text-decoration: none;
display: block;
padding: 0.3em 0; }
.snowhite-modules-rss ul.news > li svg {
min-width: 60px;
min-height: 60px;
max-width: 60px;
max-height: 60px;
margin-right: 1em; }
.snowhite-modules-rss ul.news > li small {
color: #b3b3b3; }
.snowhite-modules-calendar table td, .snowhite-modules-calendar table th {
font-family: "Roboto Mono", monospace;
padding: 0.5em;
text-align: center; }
.snowhite-modules-calendar table td.weekend, .snowhite-modules-calendar table td.other-month, .snowhite-modules-calendar table th.weekend, .snowhite-modules-calendar table th.other-month {
color: #b3b3b3; }
.snowhite-modules-calendar table td.today, .snowhite-modules-calendar table th.today {
background-color: #FFF;
color: #000;
font-weight: bold;
border-radius: 1000px; }
.module {
padding: 1em; }