barrettruth.com/public/styles/common.css

86 lines
1.3 KiB
CSS

@font-face {
font-family: "Signifier";
src: url("/signifier/Signifier-Regular.ttf");
font-weight: normal;
font-style: normal;
}
html,
body {
font-family: "Signifier", serif;
margin: 0;
padding: 0;
height: 100%;
display: flex;
flex-direction: column;
}
header,
footer {
padding: 20px;
}
header {
font-size: 1.5em;
display: flex;
align-items: center;
justify-content: space-between;
}
.main {
display: flex;
justify-content: center;
flex: 1;
}
a {
color: inherit;
}
li {
margin-bottom: 10px;
}
.graph-background {
background-image:
linear-gradient(to right, rgba(200, 200, 200, 0.4) 1px, transparent 1px),
linear-gradient(to bottom, rgba(200, 200, 200, 0.4) 1px, transparent 1px);
background-size: 3vw 3vw;
}
.terminal-cursor {
display: inline-block;
width: 10px;
height: 1em;
background-color: white;
border: 1px solid black;
vertical-align: text-top;
animation: blink 1s step-start infinite;
}
@keyframes blink {
50% {
background-color: transparent;
border-color: transparent;
}
}
.terminal-container {
font-family: "Courier New", monospace;
}
pre {
font-feature-settings:
"liga" 0,
"calt" 0;
}
@media (max-width: 768px) {
header {
font-size: 0.9em;
}
footer {
font-size: 0.9em;
}
}