mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
722 lines
13 KiB
CSS
722 lines
13 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
|
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
background-color: #1a1a1a;
|
|
color: #ffffff;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
#particles-js {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.main-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding-top: 0.5rem;
|
|
user-select: none;
|
|
}
|
|
|
|
.main-content h1 {
|
|
font-size: 3rem;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
margin-bottom: 3rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.card {
|
|
background-color: rgba(20, 20, 20, 0.95);
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
transition: all 0.4s ease;
|
|
backdrop-filter: blur(10px);
|
|
margin-bottom: 0rem;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 0 10px rgba(140, 255, 250, 0.4);
|
|
}
|
|
|
|
.card-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.card-title {
|
|
color: #8CFFFA;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.card-text {
|
|
color: #e0e0e0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.card-img-top {
|
|
height: 150px;
|
|
object-fit: contain;
|
|
background-color: rgba(42, 42, 42, 0.8);
|
|
padding: 1rem;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
will-change: transform;
|
|
backface-visibility: hidden;
|
|
transform: translateZ(0);
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
}
|
|
|
|
.card-img-container {
|
|
background: linear-gradient(45deg, rgba(30, 30, 30, 0.9), rgba(42, 42, 42, 0.9));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
contain: content;
|
|
content-visibility: auto;
|
|
}
|
|
|
|
.btn-download {
|
|
background: linear-gradient(45deg,
|
|
#4FD2D7 0%,
|
|
#8CFFFA 50%,
|
|
#4FD2D7 100%
|
|
);
|
|
background-size: 200% auto;
|
|
text-shadow: 2px 2px rgba(0, 0, 0, 0.2);
|
|
border: none;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
padding: 0.8rem 1.5rem;
|
|
border-radius: 10px;
|
|
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-size: 0.9rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-download::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(45deg,
|
|
#8CFFFA 0%,
|
|
#4FD2D7 50%,
|
|
#8CFFFA 100%
|
|
);
|
|
background-size: 200% auto;
|
|
z-index: -1;
|
|
transform: scaleX(0);
|
|
transform-origin: right;
|
|
transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.btn-download::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(
|
|
circle,
|
|
rgba(140, 255, 250, 0.6) 0%,
|
|
rgba(140, 255, 250, 0.3) 30%,
|
|
transparent 70%
|
|
);
|
|
transform: scale(0);
|
|
transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
|
|
z-index: -1;
|
|
}
|
|
|
|
.btn-download:hover {
|
|
color: #ffffff;
|
|
background-position: right center;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.btn-download:hover::before {
|
|
transform: scaleX(1);
|
|
transform-origin: left;
|
|
background-position: right center;
|
|
}
|
|
|
|
.btn-download:hover::after {
|
|
transform: scale(1) rotate(45deg);
|
|
}
|
|
|
|
.btn-download:active {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-download i {
|
|
margin-right: 8px;
|
|
transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
display: inline-block;
|
|
}
|
|
|
|
.btn-download:hover i {
|
|
transform: translateX(3px) scale(1.2);
|
|
}
|
|
|
|
.scroll-to-top {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background: linear-gradient(45deg, #4FD2D7, #8CFFFA);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 50%;
|
|
width: 60px;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
z-index: 999;
|
|
transition: all 0.3s;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.scroll-to-top:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 15px rgba(140, 255, 250, 0.4);
|
|
}
|
|
|
|
.subtle-glow {
|
|
text-shadow: 0 0 5px rgba(140, 255, 250, 0.3);
|
|
}
|
|
|
|
.text-gradient {
|
|
background: linear-gradient(45deg, #4FD2D7, #8CFFFA);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
display: inline-block;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.1rem;
|
|
color: #888;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.github-link {
|
|
font-size: 2.75rem;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.github-link:hover {
|
|
color: #8CFFFA;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.github-link i {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.warning-link {
|
|
font-size: 2.75rem;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.warning-link:hover {
|
|
color: #8CFFFA;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.warning-link i {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.video-link {
|
|
color: #ff0000;
|
|
margin-left: 6px;
|
|
transition: color 0.4s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.video-link:hover {
|
|
color: #8CFFFA;
|
|
}
|
|
|
|
.video-link .fa-youtube {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.distro-title-link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.distro-title-link:hover {
|
|
color: #8CFFFA !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.card-title .video-link {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.distro-version {
|
|
font-size: 0.95rem;
|
|
color: #888;
|
|
margin-bottom: 1rem;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.version-dropdown {
|
|
background: none;
|
|
border: none;
|
|
color: #8CFFFA;
|
|
padding: 0;
|
|
margin-left: 4px;
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.version-dropdown:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.version-menu {
|
|
background-color: rgba(30, 30, 30, 0.95);
|
|
border: 1px solid rgba(140, 255, 250, 0.2);
|
|
padding: 0.5rem 0;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.version-menu .dropdown-item {
|
|
color: #ffffff;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.9rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.version-menu .dropdown-item:hover {
|
|
background-color: rgba(140, 255, 250, 0.1);
|
|
color: #8CFFFA;
|
|
}
|
|
|
|
footer {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background-color: rgba(30, 30, 30, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 50px;
|
|
font-size: 15px;
|
|
user-select: none;
|
|
padding: 8px 20px;
|
|
width: auto;
|
|
max-width: 90%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.close-button {
|
|
position: absolute;
|
|
top: -15px;
|
|
right: -28px;
|
|
background: rgba(30, 30, 30, 0.9);
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.close-button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
footer .container {
|
|
width: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
|
|
footer p {
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #4FD2D7 !important;
|
|
transition: all 1s;
|
|
}
|
|
|
|
.search-filter-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
width: 100%;
|
|
background: rgba(33, 37, 41, 0.8);
|
|
border-radius: 15px;
|
|
padding: 10px 15px;
|
|
border: 1px solid rgba(140, 255, 250, 0.1);
|
|
}
|
|
|
|
.search-input-wrapper {
|
|
flex: 1;
|
|
}
|
|
|
|
.search-input-wrapper input {
|
|
border-color: rgba(140, 255, 250, 0.2);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.search-input-wrapper input::placeholder {
|
|
color: rgba(255, 255, 255, 0.6) !important;
|
|
}
|
|
|
|
.search-input-wrapper input:focus {
|
|
border-color: #8CFFFA;
|
|
box-shadow: 0 0 0 0.2rem rgba(140, 255, 250, 0.25);
|
|
}
|
|
|
|
.filter-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-btn {
|
|
transition: all 0.3s ease;
|
|
border-width: 1px;
|
|
font-size: 0.85rem;
|
|
padding: 0.375rem 0.75rem;
|
|
background: transparent;
|
|
color: #8CFFFA;
|
|
border-color: rgba(140, 255, 250, 0.4);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background-color: rgba(140, 255, 250, 0.1);
|
|
border-color: #8CFFFA;
|
|
color: #8CFFFA;
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background-color: #8CFFFA;
|
|
color: #000;
|
|
border-color: #8CFFFA;
|
|
}
|
|
|
|
.btn-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.torrent-icon {
|
|
opacity: 0.8;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
padding: 6px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.torrent-icon i {
|
|
color: #8CFFFA;
|
|
font-size: 1.4em;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.torrent-icon:hover {
|
|
opacity: 1;
|
|
text-shadow: 0 0 20px rgba(140, 255, 250, 0.4);
|
|
}
|
|
|
|
.torrent-icon svg {
|
|
fill: #8CFFFA;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.pagination-container {
|
|
margin: 1rem 0 1rem;
|
|
}
|
|
|
|
.pagination {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.pagination .page-item .page-link {
|
|
background-color: rgba(20, 20, 20, 0.95);
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
padding: 0.8rem 1.2rem;
|
|
border-radius: 10px;
|
|
transition: all 0.4s ease;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.pagination .page-item .page-link:hover {
|
|
background: linear-gradient(45deg, #4FD2D7, #8CFFFA);
|
|
border-color: transparent;
|
|
color: #000;
|
|
}
|
|
|
|
.pagination .page-item.active .page-link {
|
|
background: linear-gradient(45deg, #4FD2D7, #8CFFFA);
|
|
border-color: transparent;
|
|
color: #000;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pagination .page-item.disabled .page-link {
|
|
background-color: rgba(30, 30, 30, 0.5);
|
|
border-color: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.3);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.arch-label {
|
|
color: #8CFFFA;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.main-content {
|
|
padding-top: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.main-content h1 {
|
|
font-size: 1.4rem;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.card-img-top {
|
|
height: 120px;
|
|
}
|
|
|
|
.github-link {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.search-container {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.search-box {
|
|
width: 100%;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.filter-container {
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
overflow-x: auto;
|
|
padding-bottom: 0.5rem;
|
|
-webkit-overflow-scrolling: touch;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.filter-container::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.filter-btn {
|
|
flex: 0 0 auto;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.9rem;
|
|
white-space: nowrap;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.search-input {
|
|
height: 45px;
|
|
font-size: 1rem;
|
|
padding: 0.5rem 1rem 0.5rem 2.5rem;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.search-icon {
|
|
left: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.clear-search {
|
|
right: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Add sticky search on scroll */
|
|
.search-container.sticky {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(18, 18, 18, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
z-index: 1000;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
padding: 0.75rem 1rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.search-container.sticky + .row {
|
|
margin-top: 130px;
|
|
}
|
|
|
|
.search-container.sticky .filter-container {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.search-container {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.filter-btn {
|
|
padding: 0.4rem 0.9rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.search-input {
|
|
height: 40px;
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.animate__animated {
|
|
animation: none !important;
|
|
}
|
|
|
|
.card {
|
|
transition: none !important;
|
|
}
|
|
|
|
.btn {
|
|
transition: none !important;
|
|
}
|
|
}
|
|
/* Scroll to top button */
|
|
.scroll-to-top {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
z-index: 1000;
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #8CFFFA;
|
|
color: #1a1a1a;
|
|
box-shadow: 0 0 10px rgba(140, 255, 250, 0.4);
|
|
}
|
|
|
|
.scroll-to-top:hover {
|
|
background-color: #6ee7de;
|
|
box-shadow: 0 0 15px rgba(140, 255, 250, 0.6);
|
|
}
|
|
|
|
/* Integration with site nav */
|
|
.main-content {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.main-content h1 {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Text gradient for DistroHub title */
|
|
.text-gradient {
|
|
background: linear-gradient(90deg, #8CFFFA, #00d4ff);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
/* Subtle glow effect */
|
|
.subtle-glow {
|
|
text-shadow: 0 0 10px rgba(140, 255, 250, 0.3);
|
|
}
|
|
|
|
/* Search and filter styling */
|
|
.search-container {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.search-filter-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.search-input-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.filter-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* GitHub link */
|
|
.github-link {
|
|
color: #8CFFFA;
|
|
font-size: 1.5rem;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.github-link:hover {
|
|
color: #00d4ff;
|
|
}
|
|
|
|
/* Warning link */
|
|
.warning-link {
|
|
color: #ff6b6b;
|
|
font-size: 1.2rem;
|
|
text-decoration: none;
|
|
}
|