style figcaptions
This commit is contained in:
parent
e83a4e72ff
commit
c8027f250f
81
styles.css
81
styles.css
|
@ -1,10 +1,15 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: GoMono;
|
font-family: Jura;
|
||||||
src: url(fonts/GoMonoNerdFont-Regular.ttf);
|
src: url(fonts/Jura-VariableFont_wght.ttf) format(tr);
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: League;
|
||||||
|
src: url(fonts/LeagueGothic-Regular-VariableFont_wdth.ttf);
|
||||||
|
font-style: bold;
|
||||||
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--text: #e0def4;
|
--text: #e0def4;
|
||||||
--love: #eb6f92;
|
--love: #eb6f92;
|
||||||
|
@ -18,56 +23,106 @@
|
||||||
--surface: #1f1d2e;
|
--surface: #1f1d2e;
|
||||||
--overlay: #26233a;
|
--overlay: #26233a;
|
||||||
|
|
||||||
|
--hl-low: #21202e;
|
||||||
--hl-med: #403d52;
|
--hl-med: #403d52;
|
||||||
--hl-high: #524f67;
|
--hl-high: #524f67;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--base);
|
background-image: linear-gradient(to bottom right, var(--overlay), var(--base));
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
h4 {
|
h4 {
|
||||||
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
font-family: League, Verdana, Geneva, Tahoma, sans-serif;
|
||||||
|
color: var(--gold);
|
||||||
|
text-shadow: 0.8rem 0.8rem var(--base);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 4rem;
|
||||||
color: var(--love);
|
color: var(--love);
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
font-family: GoMono, serif;
|
font-family: Jura, serif;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p,
|
||||||
|
ul {
|
||||||
|
|
||||||
background-color: var(--surface);
|
background-color: var(--surface);
|
||||||
border-radius: 10rem;
|
border-radius: 10rem;
|
||||||
padding: 2rem;
|
padding: 5rem;
|
||||||
|
box-shadow: 1rem 1rem var(--base);
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 2em;
|
||||||
|
font-weight: 1000;
|
||||||
|
color: var(--iris);
|
||||||
|
text-shadow: 0.08em 0.08em var(--base);
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
color: var(--gold);
|
/* color: var(--foam); */
|
||||||
|
font-weight: 1000;
|
||||||
|
font-size: 1.1em
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration-line: underline;
|
||||||
|
text-decoration-style: dotted;
|
||||||
|
text-decoration-color: var(--pine);
|
||||||
color: var(--foam);
|
color: var(--foam);
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
|
text-decoration: none;
|
||||||
color: var(--pine);
|
color: var(--pine);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
background-color: pink;
|
background-color: var(--hl-med);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-position: inside;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style-type: ' ';
|
list-style-type: '✓ ';
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li::marker {
|
||||||
|
color: var(--pine);
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-list>li {
|
||||||
|
list-style-type: '> ';
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-list>li:hover::marker {
|
||||||
|
color: var(--foam);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue