1 $primary-color: #3367d6;
2 $secondary-color: #4285f4;
5 // /!\ Keep background colors sync with `theme-color` meta info
8 card-background: #ffffff,
11 text-subtitle: #424242,
12 card-shadow: rgba(0, 0, 0, 0.1),
17 card-background: #2b2b2b,
20 text-subtitle: #f5f5f5,
21 card-shadow: rgba(0, 0, 0, 0.4),
25 /* raleway-regular - latin */
27 font-family: 'Raleway';
31 src: local('Raleway'), local('Raleway-Regular'),
32 url('./webfonts/raleway/raleway-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
33 url('./webfonts/raleway/raleway-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
36 /* lato-regular - latin */
42 src: local('Lato Regular'), local('Lato-Regular'),
43 url('./webfonts/lato/lato-v16-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
44 url('./webfonts/lato/lato-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
47 @mixin theme($theme) {
48 background-color: map-get($theme, "background");
49 color: map-get($theme, "text");
52 color: map-get($theme, "a-hover");
57 color: map-get($theme, "text-title");
60 color: map-get($theme, "text-subtitle");
64 background-color: map-get($theme, "card-background");
65 box-shadow: 0 2px 15px 0 map-get($theme, "card-shadow");
67 background-color: map-get($theme, "card-background");
72 background-color: map-get($theme, "card-background");
74 color: map-get($theme, "text");
79 background-color: map-get($theme, "card-background");
80 box-shadow: 0 2px 15px 0 map-get($theme, "card-shadow");
88 text-overflow: ellipsis;
97 font-family: 'Raleway', sans-serif;
102 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
105 @include theme($theme-light);
108 @media (prefers-color-scheme: light), (prefers-color-scheme: no-preference) {
109 @include theme($theme-light);
111 @media (prefers-color-scheme: dark) {
112 @include theme($theme-dark);
115 // User override theme
117 @include theme($theme-light);
120 @include theme($theme-dark);
124 h1, h2, h3, h4, h5, h6 {
125 font-family: 'Lato', sans-serif;
143 color: $secondary-color;
155 padding: 6px 0 0 80px;
160 vertical-align: center;
161 background-color: $primary-color;
193 .navbar, .navbar-menu {
194 background-color: $secondary-color;
200 background-color: lighten( $secondary-color, 5% );
214 border-bottom: 1px dashed #ccc;
215 padding-bottom: 10px;
230 padding: 1.2rem .75rem;
235 box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
249 text-overflow: inherit;
253 color: $secondary-color;
254 background-color: $secondary-color;
260 transition: all 0.2s ease-out;
271 box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
272 transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
280 transform: translate(0, -3px);
303 .column div:first-of-type .card {
304 border-radius: 5px 5px 0 0;
307 .column div:last-child .card {
308 border-radius: 0 0 5px 5px;
321 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
336 display: inline-block;
339 background-color: lighten( $secondary-color, 6% );
341 padding: 2px 12px 2px 30px;
343 transition: all 100ms linear;
352 background-color: #ffffff;
356 .search-label::before {
357 font-family: 'Font Awesome 5 Free';
368 &:focus-within .search-label::before {
374 display: inline-block;
389 vertical-align: middle;