295 lines
5.6 KiB
CSS
295 lines
5.6 KiB
CSS
body{
|
|
background: inherit;
|
|
background-color: white;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
font-family: 'Fira Sans', sans-serif;
|
|
font-display: swap;
|
|
}
|
|
|
|
header{
|
|
background: var(--shading);
|
|
background-color: var(--azure);
|
|
color: #D8D8D8;
|
|
font-size: 2.5rem;
|
|
/* font-family: UnifrakturMaguntia, fantasy; */
|
|
font-family: 'Jacquard 12', fantasy;
|
|
font-display: swap;
|
|
}
|
|
|
|
.silver-text, .nav-text{
|
|
background: var(--silver);
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-moz-background-clip: text;
|
|
-moz-text-fill-color: transparent;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
nav{
|
|
background: var(--silver);
|
|
font-size: 1.15rem;
|
|
/* font-family: 'Jacquard 12', fantasy; */
|
|
font-family: Fira Sans, sans-serif;
|
|
font-display: swap;
|
|
}
|
|
|
|
main{
|
|
background-color: white;
|
|
color: black;
|
|
font-size: 1rem;
|
|
line-height:normal;
|
|
font-family: Fira Sans, sans-serif;
|
|
font-display: swap;
|
|
text-align: justify;
|
|
}
|
|
|
|
footer{
|
|
background-color: var(--charcoal);
|
|
color: white;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.copyright{
|
|
font-size:0.7rem;
|
|
}
|
|
|
|
a{
|
|
color:var(--azure);
|
|
text-decoration:underline;
|
|
}
|
|
|
|
.nav-tab{
|
|
background: var(--shading);
|
|
background-color: var(--azure);
|
|
--border-color: var(--charcoal);
|
|
--border-size: 0.08rem;
|
|
|
|
|
|
border-left: var(--border-size) solid var(--border-color);
|
|
border-right: var(--border-size) solid var(--border-color);
|
|
border-top: var(--border-size) solid var(--border-color);
|
|
border-bottom: var(--border-size) solid var(--border-color);
|
|
border-radius: 0.6rem;
|
|
}
|
|
|
|
.nav-tab:hover{
|
|
background: var(--shading-light);
|
|
background-color: var(--azure);
|
|
}
|
|
|
|
.nav-tab:active{
|
|
background: var(--shading-dark);
|
|
background-color: var(--azure);
|
|
}
|
|
|
|
h1{
|
|
text-align:left;
|
|
/*margin-left:auto;
|
|
margin-right:auto;*/
|
|
font-size:1.6rem;
|
|
}
|
|
|
|
h2{
|
|
text-align:left;
|
|
/*margin-left:auto;
|
|
margin-right:auto;*/
|
|
font-size:1.35rem;
|
|
margin-top:1em;
|
|
margin-bottom:0.5em;
|
|
}
|
|
|
|
h3{
|
|
font-size:1.2rem;
|
|
}
|
|
|
|
hr{
|
|
border-top: 0.125rem solid black;
|
|
}
|
|
|
|
ul{
|
|
list-style-type: disc;
|
|
}
|
|
|
|
ul li ul{
|
|
list-style-type: circle;
|
|
/*Nested list*/
|
|
}
|
|
ul li ul li ul{
|
|
list-style-type: square;
|
|
/*Nested list*/
|
|
}
|
|
|
|
u{
|
|
text-underline-offset: 0.15em;
|
|
/*Without this, underlines won't show under descender characters (g,y,j,p,q)*/
|
|
}
|
|
|
|
summary{
|
|
--border-color: var(--charcoal);
|
|
--border-size: 0.1em;
|
|
|
|
border-left: var(--border-size) solid var(--border-color);
|
|
border-right: var(--border-size) solid var(--border-color);
|
|
border-top: var(--border-size) solid var(--border-color);
|
|
border-bottom: var(--border-size) solid var(--border-color);
|
|
border-radius: 0.4rem;
|
|
padding-left:0.4rem;
|
|
padding-right:0.4rem;
|
|
|
|
|
|
}
|
|
|
|
summary.heading{
|
|
background: var(--silver-right);
|
|
}
|
|
|
|
|
|
|
|
.no-highlight{
|
|
user-select:none;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
input[name="tag-selector"]{
|
|
display: none;
|
|
}
|
|
|
|
.blog-tag{
|
|
font-size: 0.6em;
|
|
padding: 0.1em;
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
}
|
|
|
|
label:has(input[name="tag-selector"]){
|
|
font-size: 0.8em;
|
|
padding: 0.1em;
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
margin: 0.5em 0.25em;
|
|
|
|
}
|
|
|
|
.blog-tag, label:has(input[name="tag-selector"]){
|
|
font-weight: bold;
|
|
border-radius: 3px 3px 3px 3px;
|
|
background-color: var(--azure);
|
|
color: white;
|
|
|
|
vertical-align: middle;
|
|
text-decoration: unset;
|
|
font-weight: unset;
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
}
|
|
|
|
.blog-tag:hover, label:has(input[name="tag-selector"]):hover{
|
|
background-color: var(--azure-tint-20);
|
|
color: white;
|
|
}
|
|
|
|
label:has(input[name="tag-selector"]:checked){
|
|
background: var(--silver);
|
|
color: var(--charcoal);
|
|
}
|
|
|
|
article hr{
|
|
border-bottom: none;
|
|
border-color: var(--silver);
|
|
border-width: 0.1rem;
|
|
box-shadow: none;
|
|
}
|
|
|
|
img.rss-icon{
|
|
width: 1rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
a > img.rss-icon{
|
|
float: right;
|
|
}
|
|
|
|
blockquote {
|
|
border-color: var(--azure);
|
|
/* border-image: var(--silver) 1; */
|
|
border-style: solid;
|
|
border-left-width: 0.25em;
|
|
padding: 0.25em 0 0.25em 1em;
|
|
padding-left: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
blockquote > p:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
img {
|
|
width: 50vw;
|
|
}
|
|
|
|
ul > li::marker {
|
|
content: '⍟ ';
|
|
}
|
|
|
|
ul:has(> .blog-archive-li){
|
|
padding-left: 0.25em;
|
|
}
|
|
|
|
.blog-archive-li{
|
|
list-style: none;
|
|
margin-bottom: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
border-image: var(--silver) 1;
|
|
border-bottom-width: 0.1em;
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
.blog-archive-li::marker{
|
|
display: none;
|
|
content: none;
|
|
}
|
|
|
|
.blog-archive-li > time {
|
|
float: right;
|
|
}
|
|
|
|
a.next-article-link{
|
|
float: right;
|
|
}
|
|
|
|
a.previous-article-link[data=""], a.next-article-link[data=""]{
|
|
display: none;
|
|
}
|
|
|
|
time.last-modified-date[data="None"],
|
|
time.last-modified-date[data="None"] ~ span.first-published-label,
|
|
time.last-modified-date[data="None"] ~ span.last-modified-label,
|
|
span.first-published-label:has(~ time.last-modified-date[data="None"]),
|
|
span.last-modified-label:has(~ time.last-modified-date[data="None"])
|
|
{
|
|
display: None;
|
|
}
|
|
|
|
footer > p {
|
|
text-align: center;
|
|
}
|
|
|
|
p.socials{
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-content: center;
|
|
}
|
|
|
|
.social > img {
|
|
height: 1.25rem;
|
|
width: auto;
|
|
vertical-align: middle;
|
|
filter: brightness(0) saturate(100%) invert(95%) sepia(100%) saturate(14%) hue-rotate(213deg) brightness(104%) contrast(104%);
|
|
margin-left: 0.25em;
|
|
margin-right:0.25em;
|
|
} |