182 lines
3.3 KiB
CSS
182 lines
3.3 KiB
CSS
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
--text: #111;
|
|
--accent: #1688f0;
|
|
--bg-main: linear-gradient(to bottom right, #fff, #f0f0f0);
|
|
--bg-link: linear-gradient(to bottom right, #f0f0f0, #e0e0e0);
|
|
--bg-alt: linear-gradient(to bottom right, #f5f5f5, #e0e0e0);
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--text: #e5e5e5;
|
|
--accent: #1688f0;
|
|
--bg-main: linear-gradient(to bottom right, #000, #0a0a0f);
|
|
--bg-link: linear-gradient(to bottom right, #0f0f1a, #1a1a2e);
|
|
--bg-alt: linear-gradient(to bottom right, #0a0a0f, #1a1a2e);
|
|
}
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0;
|
|
font-family: "Open Sans", sans-serif;
|
|
background: var(--bg-main);
|
|
color: var(--text);
|
|
font-size: 16px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
width: 90%;
|
|
max-width: 1280px;
|
|
}
|
|
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--accent);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
small {
|
|
width: 100%;
|
|
text-align: center;
|
|
display: block;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
color: var(--text);
|
|
}
|
|
|
|
h2 {
|
|
width: 100%;
|
|
text-align: center;
|
|
color: var(--text);
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
border: 2px solid var(--accent);
|
|
box-shadow:
|
|
0 0 8px rgba(22, 136, 240, 0.8),
|
|
0 0 12px rgba(22, 136, 240, 0.6);
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease-in-out;
|
|
}
|
|
|
|
a:hover {
|
|
color: #125ea8;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.filter-links,
|
|
input {
|
|
background: var(--bg-alt);
|
|
width: 50%;
|
|
border-radius: 20px;
|
|
min-width: 300px;
|
|
margin-top: 1em;
|
|
padding: 1em;
|
|
margin-bottom: 1em;
|
|
border: 2px solid var(--accent);
|
|
color: var(--text);
|
|
text-align: center;
|
|
box-shadow:
|
|
0 4px 6px rgba(22, 136, 240, 0.4),
|
|
0 1px 3px rgba(22, 136, 240, 0.3);
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
background: var(--bg-link);
|
|
padding: 2em;
|
|
border-radius: 20px;
|
|
box-shadow:
|
|
0 4px 10px rgba(22, 136, 240, 0.4),
|
|
0 1px 3px rgba(22, 136, 240, 0.3);
|
|
}
|
|
|
|
h3 {
|
|
margin: 4px;
|
|
width: 100%;
|
|
text-align: center;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.link-list {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.link-list li {
|
|
width: 100%;
|
|
min-height: 80px;
|
|
border-radius: 10px;
|
|
margin: 1em 0;
|
|
border: 1px solid var(--accent);
|
|
padding: 1em;
|
|
text-align: center;
|
|
background: var(--bg-alt);
|
|
transition: all 0.3s ease-in-out;
|
|
box-shadow:
|
|
0 4px 6px rgba(22, 136, 240, 0.2),
|
|
0 1px 3px rgba(22, 136, 240, 0.2);
|
|
}
|
|
|
|
.link-list li:hover {
|
|
background: var(--bg-main);
|
|
transform: scale(1.02);
|
|
box-shadow:
|
|
0 6px 12px rgba(22, 136, 240, 0.5),
|
|
0 3px 8px rgba(22, 136, 240, 0.4);
|
|
}
|
|
|
|
@media (min-width: 700px) {
|
|
.link-list {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.link-list li {
|
|
width: 48%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.link-list li {
|
|
width: 30%;
|
|
}
|
|
}
|