zyllian.github.io/site/sass/index.scss

152 lines
2 KiB
SCSS
Raw Normal View History

2023-11-13 12:41:37 -08:00
@import "./themes/pinkle.scss";
2021-08-17 09:59:34 -07:00
body {
font-family: sans-serif;
margin: 0;
2021-08-19 14:26:26 -07:00
background-color: var(--bg-color);
color: var(--text-color);
height: 100vh;
2021-08-17 09:59:34 -07:00
}
2021-08-19 12:52:42 -07:00
header.main-header {
display: block;
padding: 4px;
2021-08-19 14:26:26 -07:00
background-color: var(--accent-color);
color: var(--accent-text-color);
2021-10-15 12:28:16 -07:00
display: flex;
gap: 4px;
a {
color: inherit;
}
.spacer {
margin-left: auto;
}
2021-08-19 12:52:42 -07:00
}
a {
text-decoration: none;
2021-08-19 14:26:26 -07:00
color: var(--accent-color);
2021-08-19 12:52:42 -07:00
2021-08-19 13:43:45 -07:00
&:hover,
&:focus {
text-decoration: underline;
}
2021-08-19 12:52:42 -07:00
}
main.page {
margin: 8px;
}
2022-10-03 00:46:59 -07:00
abbr {
cursor: help;
}
2022-12-14 21:39:19 -08:00
.images-list {
display: flex;
flex-wrap: wrap;
2023-06-09 21:55:04 -07:00
2022-12-14 21:39:19 -08:00
.image {
position: relative;
padding: 4px;
height: auto;
.image-actual {
display: block;
width: 300px;
height: 100%;
object-fit: cover;
}
.title {
position: absolute;
bottom: 0;
left: 0;
padding: 4px;
margin: 4px;
background-color: rgba(0, 0, 0, 0.7);
color: white;
}
}
}
.image-full {
2023-06-09 21:55:04 -07:00
.title,
.tags-title {
2022-12-14 21:39:19 -08:00
margin-bottom: 0;
}
.image-actual {
width: 100%;
max-height: 80vh;
object-fit: contain;
background-color: rgba(0, 0, 0, 0.3);
}
}
2023-06-09 21:55:04 -07:00
.blog-post-list {
.post {
p {
margin: 0;
}
.title {
font-size: 1.2rem;
}
.short-desc {
font-size: 0.9rem;
font-style: italic;
&:before {
content: "";
}
}
}
}
.blog-post {
margin-left: auto;
margin-right: auto;
max-width: max(1000px, 40%);
.title,
.tags-title {
margin: 0;
}
.header-image-wrapper {
color: var(--accent-text-color-neutral);
background-color: var(--accent-color-neutral);
font-style: italic;
font-size: 1.2rem;
margin-bottom: 8px;
.short-desc {
margin: 0;
padding: 8px;
}
.header-image {
width: 100%;
max-height: 60vh;
object-fit: cover;
object-position: 50% 50%;
}
}
.content {
text-indent: 1rem;
h1,
h2,
h3,
h4,
h5,
h6 {
text-indent: 0;
}
}
}