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

803 lines
15 KiB
CSS
Raw Normal View History

2024-06-20 14:10:42 +00:00
@font-face {
font-family: 'Open Sans webfont';
src: url('../../../fonts/OpenSans-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Open Sans webfont';
src: url('../../../fonts/OpenSans-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Open Sans webfont';
src: url('../../../fonts/OpenSans-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Open Sans webfont';
src: url('../../../fonts/OpenSans-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Cousine webfont';
src: url('../../../fonts/Cousine-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cousine webfont';
src: url('../../../fonts/Cousine-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Cousine webfont';
src: url('../../../fonts/Cousine-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Cousine webfont';
src: url('../../../fonts/Cousine-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
}
html {
font-size: 16px;
}
*::selection {
color: #1f1f23;
background-color: #ffdd00;
}
body {
font-family: "Open Sans webfont", sans-serif;
font-size: 1rem;
color: #1f1f23;
line-height: 1.5;
tab-size: 4;
background-color: #fcfbf7;
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: 1em 0em;
padding: 0em;
}
h2, h1.banner {
font-size: 1.5em;
font-weight: bold;
margin: 1em 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: #1f1f23;
background-color: #ffdd00;
}
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: #f5f4f0;
border-left: 1px solid #c2bcb8;
}
blockquote em,
aside em {
font-style: normal;
}
pre {
font-family: "Cousine webfont", monospace;
font-size: 0.85em;
background-color: #f5f4f0;
margin: 1rem 0rem;
overflow-x: auto;
white-space: pre;
}
code {
font-family: "Cousine webfont", monospace;
font-size: 0.85em;
background-color: #f5f4f0;
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 #c2bcb8;
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 #c2bcb8;
}
ol.comments > li {
box-sizing: border-box;
display: block;
width: 100%;
margin: 0em;
padding: 2rem;
background-color: #f5f4f0;
border: 1px solid #c2bcb8;
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: #8b6762;
color: #ffffff;
border: 1px solid #8b6762;
vertical-align: middle;
}
table td {
text-align: start;
padding: 0.5em;
font: inherit;
border: 1px solid #8b6762;
vertical-align: middle;
}
form, fieldset {
margin: 0em;
padding: 0em;
border: none;
}
form.search_box {
width: auto;
display: block;
}
form.comment_edit {
width: 100%;
background-color: transparent;
margin-bottom: 0em;
padding: 0em;
border: none;
}
select[disabled],
textarea[disabled],
input[disabled],
2024-09-05 17:51:48 +00:00
button[disabled], {
2024-06-20 14:10:42 +00:00
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: #1f1f23;
background-color: #ffffff;
border: 1px solid #c2bcb8;
border-radius: 0em;
}
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;
}
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="radio"]:checked {
background-image: url(../images/radio.svg);
background-size: 1rem;
background-position: center;
background-repeat: no-repeat;
}
input.error,
input:invalid {
border-color: #c04b4b;
box-shadow: none;
}
select:focus, input:focus {
background-color: #ffffff;
border-color: #8b6762;
outline: #8b6762 solid 1px;
outline-offset: 0px;
}
input::placeholder {
color: #1f1f23;
opacity: 1;
}
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: #1f1f23;
margin: 0.5em 0em;
padding: 0.5em;
background-color: #ffffff;
border: 1px solid #c6ccc8;
border-radius: 0em;
resize: vertical;
}
textarea:focus {
border-color: #8b6762;
outline: #8b6762 solid 1px;
outline-offset: 0px;
}
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;
background-color: #f5f4f0;
border-bottom: 1px solid #c2bcb8;
}
div#main {
box-sizing: border-box;
width: 100%;
margin: 0em;
padding: 0em;
overflow: visible;
}
div.traversal {
box-sizing: border-box;
max-width: 1024px;
}
div.prev {
text-align: left;
padding-left: 2rem;
margin: 2rem auto 0rem auto;
}
div.next {
text-align: right;
padding-right: 2rem;
margin: 0rem auto 2rem auto;
}
div.flash {
box-sizing: border-box;
width: 100%;
text-align: center;
color: #ffffff;
background-color: #c04b4b;
padding: 0.5em;
}
div.flash + div.flash {
border-top: 1px solid #ffffff;
}
div.filter {
box-sizing: border-box;
max-width: 960px;
text-align: center;
font-weight: bold;
margin: 2rem 1rem 0rem 1rem;
padding: 0.5rem;
background-color: #f5f4f0;
border: 1px solid #c2bcb8;
border-radius: 1.25rem;
}
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 1rem;
background-color: #f5f4f0;
border: 1px solid #c2bcb8;
border-radius: 0.25rem;
}
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 #c2bcb8;
}
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;
background-color: #f5f4f0;
border: 1px solid #c2bcb8;
}
section.post_archive_container {
height: 100%;
overflow: hidden;
}
article.video video,
article.audio audio {
width: 100%;
}
a:link,
a:visited {
color: #1f1f23;
text-decoration: none;
}
a:hover,
a:focus,
2024-09-05 17:51:48 +00:00
a:active,
summary:hover,
summary:focus,
summary:active {
2024-06-20 14:10:42 +00:00
outline: none;
color: #c04b4b;
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;
}
section a:link,
p a:link,
section a:visited,
p a:visited {
color: #1f1f23;
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: #c04b4b;
}
2024-09-05 17:51:48 +00:00
section a:focus-visible,
p a:focus-visible {
text-decoration-style: double;
}
2024-06-20 14:10:42 +00:00
div.tags a.tag,
div.tag_cloud a.tag {
display: inline-block;
position: relative;
top: 0px;
padding: 0.25em 0.5em;
margin: 2px 0em;
border: 1px #e5d7a1 solid;
border-radius: 0.25em;
text-decoration: none;
background-color: #fffecd;
}
div.tags a.tag:hover,
div.tags a.tag:focus,
div.tags a.tag:active,
div.tag_cloud a.tag:hover,
div.tag_cloud a.tag:focus,
div.tag_cloud a.tag:active {
top: 1px;
}
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: #8b6762;
}
div.doaction a:hover,
button:hover,
div.doaction a:focus,
button:focus,
div.doaction a:active,
button:active {
background-color: #1f1f23;
}
div.doaction a.post_delete_link,
div.doaction a.delete_link {
font-weight: bold;
}
2024-09-05 17:51:48 +00:00
section.photo > a:focus,
section a:has(img):focus {
2024-06-20 14:10:42 +00:00
outline: #c04b4b solid 4px;
}
div.doaction a.post_delete_link:hover,
div.doaction a.delete_link:hover,
div.doaction a.post_delete_link:focus,
div.doaction a.delete_link:focus,
div.doaction a.post_delete_link:active,
div.doaction a.delete_link:active {
background-color: #c04b4b;
}
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: #c04b4b 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 {
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;
}
.ajax_loading {
background-size: 30px 30px;
background-image: linear-gradient(
-45deg,
#ebeae6 25%,
transparent 25%,
transparent 50%,
#ebeae6 50%,
#ebeae6 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;
}
body {
background-color: #ffffff;
}
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 screen and (min-width: 994px) {
div.filter {
margin-left: auto;
margin-right: auto;
}
}
@media (prefers-reduced-motion) {
.ajax_loading {
animation: none;
}
}
@media (prefers-contrast: more) {
body {
background-color: #ffffff;
}
}