first commit
This commit is contained in:
commit
31077d2e09
7 changed files with 508 additions and 0 deletions
92
style.css
Normal file
92
style.css
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
@font-face {
|
||||
font-family: 'NimbusSans';
|
||||
src: url('fonts/NimbusSanL-Reg.otf') format('truetype');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #111;
|
||||
color: #eee;
|
||||
margin: 0;
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.ascii {
|
||||
font-family: 'NimbusSans', monospace;
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
white-space: pre;
|
||||
font-variant-ligatures: none;
|
||||
font-feature-settings: "liga" 0, "calt" 0;
|
||||
user-select: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ascii span {
|
||||
display: inline-block;
|
||||
width: 0.96ch;
|
||||
text-align: center;
|
||||
transition: color 0.2s ease;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ascii span.swappable:hover {
|
||||
color: #ff6b6b
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: 'NimbusSans', sans-serif;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
font-size: 2rem;
|
||||
color: #eee;
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease, text-decoration-color 0.3s ease;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.title-link {
|
||||
cursor: pointer;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.title-link:hover {
|
||||
color: #ff6b6b;
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-family: 'NimbusSans', sans-serif;
|
||||
padding: 1rem;
|
||||
font-size: 0.75rem;
|
||||
color: rgba(238, 238, 238, 0.2);
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: inherit; /* match surrounding text color */
|
||||
text-decoration: underline; /* keep underline so it's clearly a link */
|
||||
text-decoration-color: rgba(238, 238, 238, 0.3); /* dim underline */
|
||||
text-underline-offset: 2px;
|
||||
transition: color 0.2s ease, text-decoration-color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: #eee; /* slightly brighter on hover */
|
||||
text-decoration-color: rgba(238, 238, 238, 0.8);
|
||||
}
|
||||
|
||||
.footer a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue