Article content element styles
This commit is contained in:
parent
4601874c64
commit
de9291cd50
@ -77,6 +77,48 @@ blockquote {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
margin-top: 4px;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-style: italic;
|
||||||
|
color: var(--secondary-text-color);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border: 1px solid var(--secondary-text-color);
|
||||||
|
|
||||||
|
tr,
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
border: 1px solid var(--secondary-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
padding: 0 0.5em;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead > tr,
|
||||||
|
tbody > tr:nth-child(even) {
|
||||||
|
// darkened solarized base2
|
||||||
|
background: darken(#eee8d5, 5%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: "Valkyrie A", Charter, serif;
|
font-family: "Valkyrie A", Charter, serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
color: var(--solarized-base01);
|
color: var(--solarized-base01);
|
||||||
// darkened base2
|
// darkened base2
|
||||||
background: darken(#eee8d5, 4%);
|
background: darken(#eee8d5, 5%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight > code {
|
.highlight > code {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user