leilukin-tumbleblog/themes/leilukin/stylesheets/all.css

819 lines
16 KiB
CSS

@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: normal;
font-weight: 400;
src: url('./../../fonts/IntelOneMono-Regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: italic;
font-weight: 400;
src: url('./../../fonts/IntelOneMono-Italic.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: normal;
font-weight: 700;
src: url('./../../fonts/IntelOneMono-Bold.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: italic;
font-weight: 700;
src: url('./../../fonts/IntelOneMono-BoldItalic.woff2') format('woff2');
}
html {
font-size: 16px;
}
*::selection {
color: #202021;
background-color: #d090ff;
}
body {
font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1.2rem;
color: #ffffff;
line-height: 1.5;
tab-size: 4;
background-color: #202021;
margin: 0em 0em 2rem 0em;
min-width: 280px;
}
body.preview {
margin: 0rem;
}
p {
margin: 1rem 0rem;
}
p.footnote-backrefs {
font-size: 0.75em;
}
h1 {
font-size: 2em;
font-weight: bold;
margin: 0.5em 0em;
padding: 0em;
}
h2, h1.banner {
font-size: 1.5em;
font-weight: bold;
margin: 0.67em 0em;
padding: 0em;
}
h2.archive {
margin: 2rem 0rem 0rem 0rem;
}
h3 {
font-size: 1em;
font-weight: bold;
margin: 1em 0em;
padding: 0em;
}
h3.archive {
font-size: 1.33em;
margin-bottom: 0.75em;
}
h4 {
font-size: 1em;
font-weight: bold;
margin: 1em 0em;
padding: 0em;
}
h5, h6 {
font-size: 1em;
font-weight: bold;
margin: 1em 0em;
padding: 0em;
}
sup, sub {
line-height: 1;
font-size: 0.75em;
}
em, dfn, cite {
font: inherit;
font-style: italic;
}
strong {
font: inherit;
font-weight: bold;
}
address {
font: inherit;
}
small {
font-weight: normal;
font-size: 0.75em;
}
mark {
color: #202021;
background-color: #d090ff;
}
del {
font: inherit;
text-decoration: line-through;
}
figure, blockquote {
margin: 1rem;
font: inherit;
font-size: 1rem;
page-break-inside: avoid;
}
blockquote {
font-style: italic;
}
figcaption {
font-size: 0.75em;
margin: 1rem 0rem;
}
aside {
max-width: 40%;
float: right;
float: inline-end;
font-style: italic;
margin: 0rem;
margin-inline-start: 1rem;
margin-bottom: 1rem;
padding: 1rem;
background-color: #383839;
}
blockquote em,
aside em {
font-style: normal;
}
pre {
font-family: "Intel One Mono", ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
font-size: 0.85em;
background-color: #383839;
margin: 1rem 0rem;
overflow-x: auto;
white-space: pre;
}
code {
font-family: "Intel One Mono", ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
font-size: 0.85em;
background-color: #383839;
padding: 0.125em 0.25em 0em 0.25em;
vertical-align: bottom;
white-space: break-spaces;
}
pre > code {
font-size: 0.85rem;
display: block;
padding: 0.5rem;
white-space: inherit;
}
hr {
width: 100%;
clear: both;
border: none;
border-top: 1px solid #666667;
margin: 2em 0em;
}
hr.post {
margin: 0em;
}
hr:last-child,
hr.post:last-of-type,
hr + hr {
display: none;
}
ul,
ol.comments ul {
list-style: disc outside;
margin: 1em 0em;
margin-inline-start: 2em;
padding: 0em;
}
ul ul,
ol.comments ul ul {
list-style-type: circle;
}
ol,
ol.comments ol {
list-style: decimal outside;
margin: 1em 0em;
margin-inline-start: 2em;
padding: 0em;
}
ol ol,
ol.comments ol ol {
list-style-type: lower-latin;
}
html[lang="ar"] ol ol,
html[lang="ar"] ol.comments ol ol {
list-style-type: arabic-indic;
}
html[lang="he"] ol ol,
html[lang="he"] ol.comments ol ol {
list-style-type: hebrew;
}
li {
margin: 0em;
padding: 0em;
}
dl {
list-style: none;
margin: 1em 0em;
}
dl dt {
font-weight: bold;
margin: 0em;
padding: 0em;
}
dl dd {
margin: 0em;
padding: 0em;
margin-inline-start: 2em;
}
ul.navigation {
list-style: none;
margin: 0em;
display: inline;
}
ul.navigation > li {
display: inline;
}
ul.archive {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
grid-auto-flow: row;
gap: 2rem;
margin: 2rem 0rem 0rem 0rem;
}
ol.comments {
list-style: none;
padding: 0em;
margin: 0em;
border-bottom: 1px solid #666667;
}
ol.comments > li {
box-sizing: border-box;
display: block;
width: 100%;
margin: 0em;
padding: 2rem;
border: 1px solid #666667;
border-bottom: none;
}
ol.comments > li#comment_shim {
display: none;
}
table {
border-collapse: collapse;
border-spacing: 0em;
width: 100%;
margin: 0em 0em 1em 0em;
overflow-x: scroll;
}
table th {
text-align: start;
padding: 0.5em;
font: inherit;
font-weight: bold;
background-color: #666667;
border: 1px solid #666667;
vertical-align: middle;
}
table td {
text-align: start;
padding: 0.5em;
font: inherit;
border: 1px solid #666667;
vertical-align: middle;
}
form, fieldset {
margin: 0em;
padding: 0em;
border: none;
}
form.search_box {
width: auto;
display: block;
}
form.comment_edit {
width: 100%;
}
select[disabled],
textarea[disabled],
input[disabled],
button[disabled] {
cursor: not-allowed;
opacity: 0.33;
}
select, input {
box-sizing: border-box;
display: block;
width: 320px;
margin: 0.5em 0em;
padding: 0.5em;
background: none;
text-align: start;
font: inherit;
font-size: inherit;
color: #ffffff;
background-color: #666667;
border: none;
border-radius: 0.25em;
}
html[dir="ltr"] select {
appearance: none;
padding-right: 1.5em;
background-image: url(../images/select.svg);
background-size: 1rem;
background-position: center right 0.25em;
background-repeat: no-repeat;
}
html[dir="rtl"] select {
appearance: none;
padding-left: 1.5em;
background-image: url(../images/select.svg);
background-size: 1rem;
background-position: center left 0.25em;
background-repeat: no-repeat;
}
html select:focus {
background-image: url(../images/select_focus.svg);
}
input[type="checkbox"],
input[type="radio"] {
appearance: none;
width: 20px;
height: 20px;
padding: 0em;
}
input[type="radio"] {
border-radius: 50%;
}
input[type="checkbox"]:checked {
background-image: url(../images/checkbox.svg);
background-size: 1rem;
background-position: center;
background-repeat: no-repeat;
}
input[type="checkbox"]:checked:focus {
background-image: url(../images/checkbox_focus.svg);
}
input[type="radio"]:checked {
background-image: url(../images/radio.svg);
background-size: 1rem;
background-position: center;
background-repeat: no-repeat;
}
input[type="radio"]:checked:focus {
background-image: url(../images/radio_focus.svg);
background-size: 1rem;
background-position: center;
background-repeat: no-repeat;
}
input.error,
input:invalid {
color: #ffffff;
background-color: #c04b4b;
box-shadow: none;
}
select:focus, input:focus {
outline: none;
color: #202021;
border: none;
background-color: #ffffff;
}
input::placeholder {
color: #ffffff;
opacity: 1;
}
input:focus::placeholder {
color: #202021;
}
input#search_field {
display: inline;
width: 10em;
margin: 0em;
}
textarea {
box-sizing: border-box;
display: block;
width: 100%;
height: 20ex;
font: inherit;
font-size: inherit;
color: #ffffff;
margin: 0.5em 0em;
padding: 0.5em;
border: none;
border-radius: 0.25em;
background-color: #666667;
resize: vertical;
}
textarea:focus {
outline: none;
color: #202021;
border: none;
background-color: #ffffff;
}
button {
font: inherit;
font-size: inherit;
cursor: pointer;
}
button:focus {
outline: none;
}
label {
display: block;
margin-top: 1em;
}
div#mast {
box-sizing: border-box;
width: 100%;
text-align: center;
margin: 0em;
padding: 2rem;
border-bottom: 1px solid #666667;
}
div#main {
box-sizing: border-box;
width: 100%;
margin: 0em;
padding: 0em;
overflow: visible;
}
div.traversal {
box-sizing: border-box;
max-width: 1024px;
text-align: center;
padding: 0rem 2rem;
margin: 0rem auto 0rem auto;
}
div.flash {
box-sizing: border-box;
width: 100%;
text-align: center;
background-color: #c04b4b;
padding: 0.5em;
border-bottom: 1px solid transparent;
}
div.filter {
box-sizing: border-box;
width: 100%;
text-align: center;
font-weight: bold;
margin: 0rem;
padding: 0.5em;
background-color: #383839;
border-bottom: 1px solid #666667;
}
div.metadata {
box-sizing: border-box;
display: block;
width: 100%;
font-weight: normal;
font-size: 0.75em;
text-align: center;
margin-top: 2rem;
padding: 0.25rem;
border-radius: 0.25rem;
background-color: #383839;
}
div.tags {
margin: 1rem 0rem 0rem 0rem;
font-size: 0.75em;
}
div.doaction {
font-family: inherit;
margin: 1em 0em;
}
div.admin {
margin: 1em 0em 0em 0em;
}
div#main > article, div.standalone {
box-sizing: border-box;
display: block;
position: relative;
width: 100%;
max-width: 780px;
margin: 2rem auto;
padding: 0rem 2rem;
}
ul.archive article.post.archive {
display: block;
position: relative;
height: 196px;
font-size: 0.75em;
padding: 8px;
border: 1px solid #ffffff;
}
article > header {
display: block;
width: 100%;
margin: 0rem 0rem 1rem 0rem;
padding: 0em;
border: none;
}
article > section {
display: block;
width: 100%;
margin: 1rem 0rem 0rem 0rem;
padding: 0em;
}
article > footer {
display: block;
width: 100%;
text-align: start;
margin: 1rem 0rem 0rem 0rem;
padding: 0em;
border: none;
clear: both;
}
article > ol.pingbacks {
box-sizing: border-box;
display: block;
list-style: none;
width: 100%;
margin: 0rem;
padding: 2rem;
border: 1px solid #666667;
}
section.post_archive_container {
height: 100%;
overflow: hidden;
}
article.video video,
article.audio audio {
width: 100%;
}
a:link,
a:visited {
color: #ffffff;
text-decoration: none;
}
a:hover,
a:focus,
a:active {
outline: none;
color: #d090ff;
text-decoration: underline;
text-underline-offset: 0.125em;
text-decoration-thickness: 0.0625em;
}
ul.navigation > li > a {
display: inline-block;
margin: 0rem 0.5rem 1rem 0.5rem;
}
div.flash a {
font-weight: bold;
color: #ffffff;
}
div.traversal a {
display: inline-block;
position: relative;
padding: 2.5em 0em;
width: 6em;
height: 1em;
top: 0px;
color: #ffffff;
text-decoration: none;
background-color: #383839;
line-height: 1;
border-radius: 50%;
}
div.traversal a:hover,
div.traversal a:focus,
div.traversal a:active {
color: #202021;
background-color: #d090ff;
transition: top 250ms cubic-bezier(0.5, -8, 0.2, 4);
}
div.next a:hover,
div.next a:active {
top: 1px;
}
section a:link,
p a:link,
section a:visited,
p a:visited {
color: #ffffff;
text-decoration: underline;
text-underline-offset: 0.125em;
text-decoration-thickness: 0.0625em;
}
section a:hover,
p a:hover,
section a:focus,
p a:focus,
section a:active,
p a:active {
color: #d090ff;
}
div.tag_cloud a.tag {
display: inline-block;
position: relative;
top: 0px;
padding: 0.25em 0.5em;
margin: 2px 0em;
color: #ffffff;
text-decoration: none;
border: 1px solid #ffffff;
}
div.tag_cloud a.tag:hover,
div.tag_cloud a.tag:focus,
div.tag_cloud a.tag:active {
color: #202021;
background-color: #d090ff;
border-color: #d090ff;
}
div.metadata a.category {
display: inline-block;
position: absolute;
top: -2rem;
inset-inline-end: 2rem;
padding: 0.25em 0.75em;
margin: 0em;
border: 1px solid #666667;
border-top: none;
}
div.doaction a, button {
display: inline-block;
white-space: nowrap;
padding: 0.5em 1.25em;
border: none;
border-radius: 0.25em;
color: #ffffff;
text-decoration: none;
background-color: #383839;
}
div.doaction a:hover,
button:hover,
div.doaction a:focus,
button:focus,
div.doaction a:active,
button:active {
color: #202021;
background-color: #d090ff;
}
div.doaction a.post_delete_link,
div.doaction a.delete_link {
font-weight: bold;
}
section.photo > a:focus {
outline: #d090ff solid 4px;
}
a.likes > img {
display: inline-block;
position: relative;
top: 0px;
height: 1rem;
}
a.likes:hover > img,
a.likes:focus > img,
a.likes:active > img {
top: 1px;
}
a.archive_post_link {
box-sizing: border-box;
display: block;
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
color: transparent;
background-color: transparent;
}
a.archive_post_link:hover,
a.archive_post_link:focus,
a.archive_post_link:active {
outline: #d090ff solid 4px;
}
img {
border-style: none;
margin: 0em;
padding: 0em;
}
section img {
display: block;
width: 100%;
}
iframe {
max-width: 100%;
border: none;
margin: 1rem 0rem;
}
iframe.video_embed {
width: 100%;
aspect-ratio: 16 / 9;
}
div#mast > *:first-child,
article > *:first-child,
section > *:first-child,
form > *:first-child,
aside > *:first-child,
div.standalone > *:first-child,
ol.comments > li > *:first-child {
margin-top: 0rem;
}
div#mast > *:last-child,
article > *:last-child,
section > *:last-child,
form > *:last-child,
aside > *:last-child,
div.standalone > *:last-child {
margin-bottom: 0rem;
}
.top-btn,
.top-btn:hover {
color: var(--clr-top-btn-txt);
text-decoration: none;
}
.top-btn {
position: fixed;
bottom: 0.5rem;
right: 0.5rem;
z-index: 999;
font-size: 1rem;
font-weight: 700;
color: #08031A !important;
background-color: #FFD05A;
display: flex;
align-items: center;
border-radius: 50em;
padding: 0.3em 0.5em;
gap: 0.2em;
}
.top-btn:focus {
outline: 0.25em solid #FFD05A;
outline-offset: 0.15em;
}
.top-btn__arrow {
display: inline-block;
width: 1em;
aspect-ratio: 1 / 1;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
}
.ajax_loading {
background-size: 30px 30px;
background-image: linear-gradient(
-45deg,
#383839 25%,
transparent 25%,
transparent 50%,
#383839 50%,
#383839 75%,
transparent 75%,
transparent
) !important;
animation: ajax_loading 2s linear infinite;
}
.ajax_loading .doaction {
visibility: hidden;
}
@keyframes ajax_loading {
from {
background-position: 0px 0px;
}
to {
background-position: 60px 30px;
}
}
@media print {
html {
font-size: 4.2mm;
}
div#main > article,
div.standalone {
page-break-inside: avoid;
}
}
@media screen and (max-width: 639px) {
html {
font-size: 14px;
}
aside {
float: none;
max-width: 100%;
margin: 1rem 0rem;
}
input, select {
width: 100%;
}
button#search_submit {
display: none;
}
}
@media (prefers-reduced-motion) {
.ajax_loading {
animation: none;
}
}
@media (prefers-contrast: more) {
body {
background-color: #000000;
}
}