RetroDECK-Website/css/style.css

168 lines
3.3 KiB
CSS
Raw Normal View History

2024-04-18 13:19:40 +00:00
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
2024-09-23 18:50:08 +00:00
@font-face {
font-family: "Upheaval TT";
src: url("../assets/fonts/upheavtt.ttf");
}
@font-face {
font-family: "Exo";
src: url("../assets/fonts/exo.otf");
}
2024-09-23 21:05:30 +00:00
/* CSS Variables */
2024-09-23 18:50:08 +00:00
:root {
--rd-purple: #946beb;
--rd-blue: #1a9fff;
--rd-black: #222;
--gradient-1: linear-gradient(45deg, var(--rd-purple) 30%, var(--rd-blue));
--gradient-2: linear-gradient(45deg, var(--rd-blue) 30%, var(--rd-purple));
2024-09-23 21:05:30 +00:00
--pixel-font: "Upheaval TT", monospace;
--body-font: "Exo", serif;
--transition-speed: 0.1s;
2024-09-23 18:50:08 +00:00
}
2024-04-18 13:19:40 +00:00
body {
2024-09-23 18:50:08 +00:00
background: var(--rd-black);
}
/* Nav and Footer Styles */
nav, footer {
background: var(--rd-blue);
2024-09-23 21:05:30 +00:00
font-family: var(--pixel-font);
2024-09-23 18:50:08 +00:00
}
nav {
border-bottom: var(--rd-purple) solid 5px;
font-size: x-large;
}
nav i.bi {
font-size: small;
}
nav .nav-link:hover, nav .nav-link.show {
color: white;
2024-09-23 20:43:37 +00:00
}
nav .dropdown-menu.show {
2024-09-23 18:50:08 +00:00
background: var(--rd-purple);
border: white solid 1px;
font-size: large;
}
nav a.dropdown-item:hover {
2024-09-23 18:50:08 +00:00
background: var(--rd-blue);
color: white;
}
nav a.dropdown-item:hover svg {
fill: white;
2024-09-23 18:50:08 +00:00
}
2024-09-23 22:14:08 +00:00
footer {
border-top: var(--rd-purple) solid 5px;
}
#pixel-font-switch:checked {
background-color: #946beb;
border-color: white;
}
#pixel-font-switch {
border-color: #946beb;
}
2024-09-23 18:50:08 +00:00
/* Jumbotron Styles */
.jumbotron {
background: linear-gradient(45deg, var(--rd-purple) 30%, var(--rd-blue));
border: white 2px solid;
}
2024-09-23 20:43:37 +00:00
.jumbotron h1,h2 {
2024-09-23 21:05:30 +00:00
font-family: var(--pixel-font);
2024-09-23 18:50:08 +00:00
text-shadow: 2px 2px var(--rd-purple);
2024-09-23 20:43:37 +00:00
color: white;
2024-09-23 18:50:08 +00:00
}
.jumbotron p {
2024-09-23 21:05:30 +00:00
font-family: var(--body-font);
2024-09-23 20:43:37 +00:00
font-size: larger;
2024-09-23 18:50:08 +00:00
}
/* Features Styles */
#features {
background: #000;
border-top: var(--rd-purple) 5px solid;
border-bottom: var(--rd-purple) 5px solid;
transition: 0.25s;
}
2024-09-24 23:16:37 +00:00
img.screenshot {
border: white 2px solid;
border-radius: 5px;
margin: auto;
}
.feature-card {
background: var(--rd-blue);
border: white 2px solid;
border-radius: 5px;
2024-09-27 17:05:42 +00:00
text-align: left;
2024-09-24 23:16:37 +00:00
}
.feature-card h3 {
color: white;
font-family: var(--pixel-font);
text-shadow: 2px 2px var(--rd-purple);
}
.feature-card p {
font-family: var(--body-font);
2024-09-23 22:14:08 +00:00
}
2024-09-27 17:05:42 +00:00
img.d-pad {
opacity: 0%;
transition: 0.25s;
}
.carousel-button:hover img.d-pad {
opacity: 100%;
transition: 0.25s;
}
.carousel-indicators {
opacity: 0%;
pointer-events: none;
transition: 0.25s;
}
.carousel:hover .carousel-indicators {
opacity: 100%;
pointer-events: auto;
transition: 0.25s;
}
2024-09-23 18:50:08 +00:00
/* Link Styles */
2024-09-30 15:21:10 +00:00
.jumbotron p a, footer a, a.btn, .feature-card a {
2024-09-23 18:50:08 +00:00
color: var(--rd-purple);
background: var(--rd-black);
text-decoration: none;
padding: 5px;
border: white 1px solid;
border-radius: 5px;
2024-09-23 21:05:30 +00:00
font-family: var(--pixel-font);
2024-04-23 16:16:44 +00:00
}
2024-09-23 18:50:08 +00:00
.jumbotron p a:hover, footer a:hover, a.btn:hover {
color: white;
background: var(--rd-purple);
border-color: var(--rd-black);
transition: var(--transition-speed);
}
.jumbotron .btn:hover svg {
fill: white;
transition: var(--transition-speed);
2024-09-23 17:03:56 +00:00
}