local-ip.sh/http/static/styles.css

135 lines
1.9 KiB
CSS
Raw Normal View History

2024-07-09 23:09:18 +00:00
html {
2024-07-18 23:46:18 +00:00
background: #111;
2024-07-09 23:09:18 +00:00
}
body {
2024-07-18 23:46:18 +00:00
color: #728ea7;
display: flex;
flex-direction: column;
margin-inline: auto;
padding-left: 1.5em;
padding-right: 1.5em;
width: min(100%, 41.5rem);
margin-top: 50px;
margin-bottom: 50px;
2024-07-09 23:09:18 +00:00
2024-07-18 23:46:18 +00:00
font-family: ui-monospace, monospace;
font-size: 18px;
font-weight: bold;
2024-07-09 23:09:18 +00:00
2024-07-18 23:46:18 +00:00
-webkit-font-smoothing: antialiased;
2024-07-09 23:09:18 +00:00
}
header {
2024-07-18 23:46:18 +00:00
color: #7aa6da;
display: flex;
}
h3 {
margin: 0;
font-weight: bold;
2024-07-09 23:09:18 +00:00
}
header > pre {
2024-07-18 23:46:18 +00:00
margin: 1rem auto;
2024-07-09 23:09:18 +00:00
}
main a {
2024-07-18 23:46:18 +00:00
color: #728ea7;
2024-07-09 23:09:18 +00:00
}
main a:hover {
2024-07-18 23:46:18 +00:00
background: #7aa6da;
color: #111;
text-decoration: none;
2024-07-09 23:09:18 +00:00
}
2024-07-18 23:46:18 +00:00
article:nth-child(n + 2) {
margin-top: 3rem;
2024-07-09 23:09:18 +00:00
}
2024-07-18 23:46:18 +00:00
article > main {
display: flex;
flex-direction: column;
justify-content: space-between;
row-gap: 2rem;
2024-07-09 23:09:18 +00:00
}
code {
2024-07-18 23:46:18 +00:00
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(27, 31, 35, 0.95);
border-radius: 3px;
white-space: nowrap;
2024-07-09 23:09:18 +00:00
}
header span.dim {
2024-07-18 23:46:18 +00:00
color: #728ea7;
}
article h3,
article strong {
color: #7aa6da;
2024-07-09 23:09:18 +00:00
}
2024-07-18 23:46:18 +00:00
aside {
display: flex;
flex-direction: column;
}
aside > p {
margin: 0 5ch 0 auto;
2024-07-09 23:09:18 +00:00
}
footer {
2024-07-18 23:46:18 +00:00
margin: 5rem auto 0;
color: #556a7d;
2024-07-09 23:09:18 +00:00
}
footer a {
2024-07-18 23:46:18 +00:00
color: inherit;
2024-07-09 23:09:18 +00:00
}
footer a:hover {
2024-07-18 23:46:18 +00:00
color: #728ea7;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
2024-07-09 23:09:18 +00:00
}
2024-07-18 23:46:18 +00:00
.cursor {
display: inline-block;
background: #111;
margin-left: 1px;
margin-right: -1px;
animation: blink 2s linear 0s infinite;
2024-07-09 23:09:18 +00:00
}
@keyframes blink {
2024-07-18 23:46:18 +00:00
0% {
background: #7aa6da;
}
47% {
background: #728ea7;
}
50% {
background: #111;
}
97% {
background: #111;
}
100% {
background: #728ea7;
}
2024-07-09 23:09:18 +00:00
}