ctrlz.es/themes/hugo-bearcub/assets/style.css

218 lines
2.7 KiB
CSS
Raw Permalink Normal View History

2024-01-08 09:51:11 +01:00
body {
font-family: Verdana, sans-serif;
margin: auto;
padding: 20px;
max-width: 720px;
text-align: left;
background-color: #1d1f27;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: #c9d1d9;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
color: #eee;
}
a {
color: #8cc2dd;
}
.title {
text-decoration: none;
border: 0;
}
.title h1 {
font-size: 24px;
margin: 19.92px 0 19.92px 0;
}
.title span {
font-weight: 400;
}
nav a {
margin-right: 10px;
}
textarea {
background-color: #252525;
color: #ddd;
width: 100%;
font-size: 16px;
}
input {
background-color: #252525;
color: #ddd;
font-size: 16px;
}
content {
line-height: 1.6;
}
table {
width: 100%;
}
table,
th,
td {
border: 1px solid;
border-collapse: collapse;
border-color: #c9d1d9;
padding: 5px;
}
img {
max-width: 100%;
}
code {
padding: 2px 5px;
color: #f8f8f2;
background-color: #282a36;
}
pre code {
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 14px;
overflow-x: auto;
}
blockquote {
border-left: 1px solid #999;
color: #ccc;
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px;
text-align: center;
}
.helptext {
color: #aaa;
font-size: small;
}
.errorlist {
color: #eba613;
font-size: small;
}
/* blog posts */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
margin-bottom: 10px;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: #8b6fcb;
}
a.blog-tags {
line-height: 2;
}
h3.blog-filter {
margin-bottom: 0;
}
.disabled {
color: currentColor;
cursor: not-allowed;
opacity: 0.7;
}
p.byline {
font-style: italic;
}
/* "Skip to main content" link */
.skip-link {
position: absolute;
top: 5;
transform: translateY(-600%);
transition: transform 0.5s;
background-color: #1d1f27;
padding: 6px;
}
.skip-link:focus {
transform: translateY(0%);
}
figure {
margin-inline-start: 0em;
margin-inline-end: 0em;
}
figcaption > p {
margin-block-start: 0px;
text-align: center;
font-style: italic;
color: #ccc;
}
footer a.footerlink {
text-decoration: none;
}
2024-01-10 09:51:59 +01:00
content .blog-reference {
2024-01-12 23:06:48 +01:00
width: calc(100% - 42px);
2024-01-10 09:51:59 +01:00
border: 1px solid;
padding: 10px;
margin: 10px;
}
2024-01-12 23:06:48 +01:00
@media (max-width:480px) {
content .blog-reference {
width: calc(100% - 22px);
margin: 0;
}
}
2024-01-10 09:51:59 +01:00
content .blog-reference p {
margin: 0;
}
content .blog-reference p.blog-reference-title {
font-weight: bold;
}
2024-01-12 23:06:48 +01:00
content .blog-reference p.blog-reference-title > a {
2024-01-10 09:51:59 +01:00
text-decoration: none;
}
content .blog-reference p.blog-reference-subtitle {
font-size: 0.8rem;
line-height: 1;
}
content .blog-reference p.blog-reference-description {
margin-top: 10px;
2024-01-12 23:06:48 +01:00
line-height: 1.2;
2024-01-10 09:51:59 +01:00
}