dating-website/src/static/drip.css
2026-03-09 18:50:53 +00:00

154 lines
1.9 KiB
CSS

@font-face {
font-family: 'font';
src: url('/static/font/font.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'font';
src: url('/static/font/font-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
font-display: swap;
}
body {
background: #FFE0F4;
color: #FF00AA;
text-shadow: 0px 0px 5px rgba(255, 0, 170, 0.8);
padding: 10px;
max-width: 900px;
width: 100%;
margin: auto;
font-family: font;
font-weight: normal;
line-height: 1.4rem;
word-wrap: break-word;
font-size: 22px;
}
footer {
padding: 0 0 1.5rem 0;
text-align: center;
margin-top: auto;
}
img {
max-width: 100%;
height: auto;
}
strong, b {
font-weight: bold;
}
section {
margin-top: 32px;
background: #fff;
padding: 10px;
border: medium dashed #FF00AA;
border-radius: 5px;
}
h1 {
color: #FF00AA;
text-decoration: underline yellow;
text-align: center;
}
h2, h3 {
color: #FF00AA;
}
a {
color: #FF699B;
}
a:hover {
color: #ffffff;
}
table {
width: 100%;
border-collapse: collapse;
overflow-x: auto;
display: block;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #FF00AA;
color: white;
}
tr:nth-child(even) {
background-color: #FFB3DA;
}
@media (max-width: 768px) {
body {
font-size: 20px;
padding: 8px;
}
section {
padding: 8px;
margin-top: 24px;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.4rem;
}
h3 {
font-size: 1.2rem;
}
}
@media (max-width: 480px) {
body {
font-size: 18px;
padding: 6px;
line-height: 1.5rem;
}
section {
padding: 8px;
margin-top: 20px;
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.2rem;
}
h3 {
font-size: 1.1rem;
}
table {
font-size: 14px;
}
th, td {
padding: 6px;
}
}