startpage/style.css

128 lines
2.6 KiB
CSS
Raw Normal View History

2020-11-09 21:24:16 -08:00
:root {
2024-09-21 15:04:04 -07:00
--base: #191724;
--surface: #1f1d2e;
--overlay: #26233a;
--text: #e0def4;
--love: #eb6f92;
--gold: #f6c177;
--rose: #ebbcba;
--pine: #31748f;
--foam: #9ccfd8;
--iris: #c4a7e7;
2024-09-21 15:20:23 -07:00
--highlight-low: #21202e;
--highlight-med: #403d52;
--highlight-high: #524f67;
2024-09-21 15:04:04 -07:00
@media (prefers-color-scheme: light) {
--base: #faf4ed;
--surface: #fffaf3;
--overlay: #f2e9e1;
--text: #575279;
--love: #b4637a;
--gold: #ea9d34;
--rose: #d7827e;
--pine: #286983;
--foam: #56949f;
--iris: #907aa9;
2024-09-21 15:20:23 -07:00
--highlight-low: #f4ede8;
--highlight-med: #dfdad9;
--highlight-high: #cecacd;
2024-09-21 15:04:04 -07:00
}
--font: "FairiesevkaSans Nerd Font Propo";
--clock-font: "FairiesevkaSans Nerd Font Propo Heavy";
2024-09-21 15:20:23 -07:00
--page-bg: var(--base);
--clock-fg: var(--text);
--search-bg: var(--overlay);
--search-fg: var(--rose);
--link-bg: var(--surface);
--link-fg: var(--text);
--link-hover-fg: var(--foam);
--shadow: var(--highlight-med);
2020-11-09 21:24:16 -08:00
}
/*-----------------------------------------------------------*/
input {
2024-09-21 15:04:04 -07:00
height: inherit;
width: 680px;
2024-09-21 15:20:23 -07:00
background: var(--search-bg);
color: var(--search-fg);
2024-09-21 15:04:04 -07:00
font: var(--font);
font-weight: mono;
line-height: 1.8em;
2024-09-21 15:20:23 -07:00
box-shadow: 1px 1px 3px var(--shadow);
2024-09-21 15:04:04 -07:00
border: none;
text-align: center;
border-radius: 8px;
outline: none;
padding: 7px 14px;
font-size: 18;
grid-column: 1 / -1;
margin: 0px 0px 30px 0px;
2020-11-09 21:24:16 -08:00
}
body {
2024-09-21 15:04:04 -07:00
/*
2020-11-09 21:24:16 -08:00
background-image: url('../background/bg.jpg');
background-repeat : no-repeat;
*/
2024-09-21 15:20:23 -07:00
background-color: var(--page-bg);
2024-09-21 15:04:04 -07:00
background-size: cover;
2020-11-09 21:24:16 -08:00
}
.everything {
2024-09-21 15:04:04 -07:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
2020-11-09 21:24:16 -08:00
}
.link {
2024-09-21 15:04:04 -07:00
display: inline-block;
margin: 1%;
height: 185px;
width: 140px;
text-align: left;
padding-left: 3%;
2024-09-21 15:20:23 -07:00
background-color: var(--link-bg);
2024-09-21 15:04:04 -07:00
border-radius: 8px;
2024-09-21 15:20:23 -07:00
box-shadow: 2px 2px 8px var(--shadow);
2020-11-09 21:24:16 -08:00
}
.box {
2024-09-21 15:04:04 -07:00
width: 750px;
2020-11-09 21:24:16 -08:00
}
ul {
2024-09-21 15:04:04 -07:00
padding-inline-start: 0;
list-style: none;
2020-11-09 21:24:16 -08:00
}
a {
2024-09-21 15:04:04 -07:00
display: block;
line-height: 2.4em;
font-family: var(--font);
2024-09-21 15:20:23 -07:00
color: var(--link-fg);
2024-09-21 15:04:04 -07:00
font-size: 1rem;
text-decoration: none;
outline: none;
transition: 0.2s;
2020-11-09 21:24:16 -08:00
}
a:hover {
2024-09-21 15:20:23 -07:00
color: var(--link-hover-fg);
2020-11-09 21:24:16 -08:00
}
.time {
font-family: var(--clock-font), monospace;
2024-09-21 15:04:04 -07:00
font-weight: mono;
font-size: 5.5rem;
margin: 50px 0px 50px 0px;
2024-09-21 15:20:23 -07:00
color: var(--clock-fg);
2024-09-21 15:04:04 -07:00
text-shadow:
-5px 5px 0px var(--love),
-10px 10px var(--gold),
-15px 15px 0px var(--iris),
-20px 20px 0px var(--pine);
2020-11-09 21:24:16 -08:00
}