You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
1.2 KiB
CSS
104 lines
1.2 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
font-family: sans-serif;
|
|
font-size: 32px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
|
|
}
|
|
|
|
main > * {
|
|
padding: 16px;
|
|
margin: 0;
|
|
|
|
min-height: 33vw;
|
|
|
|
background-color: rgba(255, 200, 255, 0.3);
|
|
}
|
|
|
|
main > *:nth-child(even) {
|
|
background: none;
|
|
}
|
|
|
|
h1 {
|
|
line-height: 1.3;
|
|
}
|
|
|
|
figure {
|
|
padding: 0;
|
|
}
|
|
|
|
figcaption {
|
|
margin: 8px;
|
|
}
|
|
|
|
a {
|
|
color: currentColor;
|
|
display: inline-block;
|
|
}
|
|
|
|
a:after {
|
|
display: inline-block;
|
|
content: "↗";
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
translate: 10px 0;
|
|
}
|
|
|
|
a:hover:after {
|
|
translate: 5px -5px;
|
|
}
|
|
|
|
em {
|
|
font-family: "Unilegant";
|
|
font-style: normal;
|
|
font-size: 1.25em;
|
|
text-shadow: 1px 0 0 currentColor, 1px 0 0 currentColor;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.example:before {
|
|
content: "Example:";
|
|
|
|
text-shadow: 1px 0 0 currentColor, 1px 0 0 currentColor;
|
|
font-family: "Unilegant";
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.session .number {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.where:before,
|
|
.when:before {
|
|
content: "When";
|
|
display: block;
|
|
|
|
text-shadow: 1px 0 0 currentColor, 1px 0 0 currentColor;
|
|
font-family: "Unilegant";
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.where {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.where:before {
|
|
content: "Where";
|
|
}
|