mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 14:30:31 +02:00
/guestbook, /autist, font changes and a new /projects entry
This commit is contained in:
parent
edc8589d1d
commit
8fc3faf8bb
41 changed files with 400 additions and 101 deletions
92
guestbook/style.css
Normal file
92
guestbook/style.css
Normal file
|
@ -0,0 +1,92 @@
|
|||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('/Fonts/Hack/Hack-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'JetBrainsMono';
|
||||
src: url('/Fonts/JetBrainsMono/JetBrainsMono-Regular.woff2');
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #505050;
|
||||
font-family: 'JetBrainsMono', 'Hack', monospace;
|
||||
margin: 20px 40px 20px 40px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
flex-direction: column;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: white;
|
||||
background-color: #b49cdf;
|
||||
}
|
||||
|
||||
* {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.guestbook-entry {
|
||||
margin-bottom: 20px;
|
||||
padding: 10px;
|
||||
border: 2px solid #707070;
|
||||
background-color: #606060;
|
||||
max-width: 50vw;
|
||||
text-align: left;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.guestbook-entry p {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #b49cdf;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.guestbook-entry a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.guestbook-entry {
|
||||
max-width: 60vw;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.guestbook-entry {
|
||||
max-width: 80vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
body {
|
||||
font-size: small;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.guestbook-entry {
|
||||
max-width: 90vw;
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue