Make pages prettier
This commit is contained in:
parent
d19c990039
commit
040ec1a139
5 changed files with 121 additions and 7 deletions
BIN
resources/static/fonts/Bitter-Regular.ttf
Normal file
BIN
resources/static/fonts/Bitter-Regular.ttf
Normal file
Binary file not shown.
80
resources/static/style.css
Normal file
80
resources/static/style.css
Normal file
|
@ -0,0 +1,80 @@
|
|||
@font-face {
|
||||
font-family: 'Bitter';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: swap;
|
||||
src: url(/static/fonts/Bitter-Regular.ttf) format('truetype');
|
||||
}
|
||||
|
||||
:root {
|
||||
--accent-color: #f60;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #333;
|
||||
color: var(--accent-color);
|
||||
font-family: Bitter;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
footer {
|
||||
font-size: 1rem;
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
|
||||
.pay-option {
|
||||
margin: 8px;
|
||||
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
border: 4px solid var(--accent-color);
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.pay-option.pay-preset {
|
||||
display: inline-block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
}
|
||||
|
||||
.pay-option.pay-preset > input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.pay-option.pay-custom {
|
||||
display: inline-block;
|
||||
padding: 4px 0 4px 8px;
|
||||
}
|
||||
|
||||
.pay-option.pay-custom > input {
|
||||
width: 4em;
|
||||
font-size: inherit;
|
||||
border: none;
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pay-custom + input[type="submit"] {
|
||||
display: inline-block;
|
||||
font-size: 24px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
|
||||
svg {
|
||||
background-color: #fff;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue