semantic-indieweb/static/css/style.css

116 lines
1.6 KiB
CSS
Raw Normal View History

/* Styles for site header */
hgroup.site-header {
border-top: double;
border-bottom: thin solid;
margin-bottom: 0.5em;
}
hgroup.site-header h1 {
margin: 0;
}
hgroup.site-header h2 {
font-weight: normal;
font-size: 1em;
font-style: italic;
padding-left: 0.5em;
margin: 0;
}
img.u-photo {
max-width: 60px;
2019-12-07 04:22:47 +00:00
padding: 0.5em;
}
.glyph {
2019-12-07 04:09:28 +00:00
font-size: 1.25em;
2019-12-22 02:12:32 +00:00
margin-left: 1px;
margin-right: 1px;
}
nav.site-menu {
border-top: thin solid;
border-bottom: double;
}
/* Styles for site footer */
p.copyright {
border-top: thin solid;
font-size: 0.8em;
text-align: center;
margin: 0;
}
p.built-with {
text-align: center;
font-size: 0.8em;
margin: 0;
}
img.profile.photo {
max-width: 60px;
padding: 0.5em;
}
img.profile.photo.like {
max-width: 30px;
border-radius: 50%;
padding: 0.5em;
}
/* Styles for images and code fence blocks in content area */
pre {
overflow-x: auto;
width: 100vw;
}
code {
color: darkred;
}
pre code {
display: block;
color: inherit;
}
figure {
max-width: 100vw;
}
figure img {
max-width: calc(100vw - 160px);
}
@media only screen and (min-width: 922px) {
pre {
overflow-x: auto;
max-width: calc(100vw - 350px);
}
pre code {
display: block;
}
figure {
max-width: calc(100vw - 350px);
}
figure img {
max-width: calc(100vw - 510px);
}
}
/* Styes for tables */
table, th, td {
padding: 0.5rem;
}
table.table-bordered,
table.table-bordered td,
table.table-bordered th {
border: 1px solid #dee2e6;
border-spacing: 2px;
border-collapse: collapse;
}