site/assets/style.css

133 lines
1.9 KiB
CSS
Raw Normal View History

2024-10-15 21:28:16 +00:00
/* The good ol reset boilerplate */
h1, h2, h3, h4, h5, p {
margin: 0;
}
body {
margin: 0;
font-size: 0;
}
/* vars */
:root {
2025-04-30 17:47:11 +00:00
--text-color: rgb(0, 0, 0);
--highlight-color: rgb(204, 180, 176);
--bg-color: rgb(255, 225, 220);
2024-10-15 21:28:16 +00:00
}
/* Actual style starts here */
body {
background-color: var(--bg-color);
2025-04-30 17:47:11 +00:00
color: var(--text-color);
2024-10-15 21:28:16 +00:00
font-family: "Poppins", sans-serif;
}
p {
font-size: 14pt;
margin: 20px 0;
}
a {
2025-04-30 17:47:11 +00:00
color: var(--text-color);
2024-10-15 21:28:16 +00:00
}
a:visited {
2025-04-30 17:47:11 +00:00
color: var(--text-color);
2024-10-15 21:28:16 +00:00
}
a:hover {
2025-04-30 17:47:11 +00:00
color: var(--text-color);
filter: contrast(25%);
2024-10-15 21:28:16 +00:00
}
h1 {
font-size: 18pt;
overflow: clip;
white-space: nowrap;
margin-top: 16px;
}
h1::after {
content: " ------------------------------------------------------------------------------------------------------------------------";
width: 100vw;
max-width: 960px;
font-size: 18pt;
}
h1::before {
content: "---- ";
width: 100vw;
max-width: 960px;
font-size: 18pt;
}
.content {
max-width: 960px;
margin: 0 auto;
padding: 20px;
2024-10-15 21:28:16 +00:00
}
.avi {
max-height: 196px;
2024-10-15 21:28:16 +00:00
border-radius: 100px;
2025-04-30 17:47:11 +00:00
box-shadow: 4px 4px 10px rgb(0, 0, 0, 0.5);
2024-10-15 21:28:16 +00:00
display: inline-block;
vertical-align: middle;
margin: 15px;
}
.akko {
display: inline-block;
float: right;
max-height: 48px;
vertical-align: top;
color: #fff;
margin: 15px;
}
.akko img {
max-height: 48px;
}
.akko:hover {
2025-04-30 17:47:11 +00:00
filter: contrast(25%);
2024-10-15 21:28:16 +00:00
}
.profile p {
display: inline-block;
vertical-align: middle;
margin-left: 25px;
font-size: 32pt;
2024-10-15 21:28:16 +00:00
font-weight: 300;
}
.profile a {
display: inline-block;
float: right;
font-size: 18pt;
text-align: right;
vertical-align: top;
}
@media only screen and (max-device-width: 720px) {
.avi {
max-height: 128px;
}
.profile p {
margin-left: 15px;
font-size: 24pt;
}
.akko img {
max-height: 32px;
}
}