mirror of
https://github.com/seigler/generative
synced 2025-07-26 06:46:10 +00:00
79 lines
1,002 B
CSS
79 lines
1,002 B
CSS
*, *:before, *:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
html, body {
|
|
min-height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background-color: #000;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
main {
|
|
text-align: left;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
a:hover, a:focus {color: #66F;}
|
|
|
|
code {
|
|
display: inline-block;
|
|
font-size: 1.2em;
|
|
line-height: 1;
|
|
padding: 0.5em 0.5em 0.2em;
|
|
background-color: #222;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: left;
|
|
z-index: 10;
|
|
}
|
|
|
|
footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
max-width: 100vw;
|
|
color: white;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
padding: 0.5em 1em;
|
|
border-top-right-radius: 0.5em;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
figure {
|
|
margin: 1em 0;
|
|
max-width: 400px;
|
|
}
|
|
|
|
figcaption {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
main {
|
|
padding: 1em;
|
|
}
|