thesandwi.ch/src/style.css
Isaac Mills 87b339d0f5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix mobile view
2025-05-29 11:16:19 -06:00

140 lines
No EOL
1.6 KiB
CSS

:root {
--energy: 0px;
color: white;
}
.title {
font-size: min(10vw, 36pt);
margin-bottom: 48px;
}
center:has(> blockquote) {
margin: 10px auto;
font-size: min(5vw, 22pt);
padding: 15px;
border-radius: 5px;
}
blockquote p {
text-align: center;
}
blockquote p::before {
content: "\201C";
}
blockquote p::after {
content: "\201D";
}
blockquote+p {
text-align: right;
}
html {
color-scheme: light dark;
font-family: system-ui;
}
#page-content {
background-image: linear-gradient(to bottom, #000000, #636363 1024px);
}
#page-content-content {
width: min(100%, 1024px);
}
#page-content,
#page-content>* {
position: relative;
z-index: 1;
}
.project {
background-color: #484848;
padding: 16px 24px;
display: flex;
align-content: space-around;
align-items: center;
margin: 32px;
}
.project>div {
padding: 16px;
}
img.figure,
.figure>svg {
width: 80%;
}
.figure>svg {
height: 80%;
}
.project-title h1 {
font-size: 24pt;
}
.project-alt {
flex-direction: row-reverse;
}
body {
margin: 0;
}
h1 {
font-size: 32pt;
/* margin: 0; */
}
input[type="checkbox"] {
transform: scale(1.5);
margin: 10px;
}
li,
p {
font-size: 16pt;
text-align: left;
}
form {
text-align: left;
}
textarea {
width: 100%;
}
a {
color: inherit;
/* no underline */
text-decoration: none;
}
@media only screen and (max-width: 700px) {
.project {
flex-direction: column;
padding: 16px;
}
.project>div {
padding-top: 0;
padding-bottom: 0;
}
blockquote {
margin: 0px auto;
}
.project p {
font-size: 12pt;
text-align: left;
}
}