Files
website/style.css
2025-09-22 17:46:57 -07:00

235 lines
3.1 KiB
CSS

:root {
--primary: #6347ff;
--secondary: #ffe847;
--primary-50: #312480;
--secondary-50: #807424;
color-scheme: light dark;
}
#content {
max-width: 512px;
padding-bottom: 25vh;
}
.media {
max-width: 512px;
display: block;
margin: 16px 0;
}
h3 {
margin-top: 16px;
margin-bottom: 0;
color: light-dark(black, white);
}
h2 {
text-align: center;
margin-bottom: 0;
margin-top: 16px;
}
a {
color: light-dark(black, white);
}
a {
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
:not(h2)>a {
color: light-dark(darkslategrey, beige)
}
p {
margin-top: 0;
margin-bottom: 8px;
}
.indent {
text-indent: 1em;
margin: 0
}
audio {
display: block;
}
.bullet-img {
height: 14px;
width: 14px;
object-fit: contain;
vertical-align: middle;
margin-right: 8px;
}
#contact-info-container {
min-height: 55px;
}
.cover {
cursor: pointer;
color: light-dark(whitesmoke, black);
border: solid 1px light-dark(black, whitesmoke);
user-select: none;
}
.centerer {
display: flex;
justify-content: center;
align-items: center;
}
.flex {
display: flex;
}
.f-l {
float: right;
}
.flexy-img {
min-width: 0;
height: max-content;
}
.m-l {
margin-left: 16px;
}
.m-t {
margin-top: 16px;
}
.subtitle {
font-size: 16px;
color: grey;
margin-top: 0;
margin-left: 8px;
}
.relative {
position: relative;
}
.absolute-fill {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#title-1 {
color: light-dark(white, black);
overflow: hidden;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
background: light-dark(black, whitesmoke);
}
#index {
list-style-type: none;
margin: 8px 0 0 0;
padding: 0;
}
#index>li {
display: inline;
border: solid light-dark(black, whitesmoke);
border-width: 0 1px;
margin: 0;
padding: 0 8px;
}
#title-1>.h1-container {
padding: 16px;
background: light-dark(black, whitesmoke);
width: max-content;
z-index: 1;
}
#title-1>div>h1 {
margin: 0;
}
#title-1>a>img {
z-index: 0;
display: block;
max-height: 71px;
min-width: 100%;
object-fit: cover;
}
img {}
.disabled {
pointer-events: none;
}
body {
margin: 8px;
font-family: sans-serif;
position: relative;
background: light-dark(whitesmoke, black);
color: light-dark(black, whitesmoke);
display: block;
}
#click-to-reveal-prompt {
color: grey;
position: absolute;
left: 0;
right: 0;
top: 8px;
text-align: center;
}
section {
margin-bottom: 16px;
}
.margin-8px-top {
margin-top: 8px;
}
.blog-item {
width: calc(100% - 18px);
overflow: hidden;
cursor: pointer;
border: solid 1px grey;
position: relative;
z-index: 1;
padding: 8px;
}
.blog-item>img {
position: absolute;
top: 8px;
right: 8px;
max-width: calc(50% - 16px);
max-height: calc(100% - 16px);
z-index: -1;
}
.blog-item>h3,
.blog-item>p {
max-width: 70%;
background: light-dark(#ffffff88, #00000088);
box-shadow: 8px 0 8px light-dark(#ffffff88, #00000088);
margin: 0;
}
.blog-item>p {
font-weight: normal;
}
.gone {
display: none;
}