Files
atonix9x-php/styles.css
T

277 lines
5.3 KiB
CSS

:root {
--primary-color: #dc2626;
--secondary-color: #991b1b;
--accent-light: #fef2f2;
--background-color: #fff5f5;
--card-background: #ffffff;
--text-color: #451a1a;
--text-light: #7f1d1d;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.6;
}
nav {
background-color: var(--card-background);
box-shadow: 0 2px 4px rgba(153, 27, 27, 0.08);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: var(--primary-color);
text-decoration: none;
}
.nav-links a {
color: var(--text-color);
text-decoration: none;
margin-left: 1.5rem;
transition: color 0.2s;
}
.nav-links a:hover {
color: var(--primary-color);
}
.hero, .page-header {
background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
color: white;
text-align: center;
padding: 4rem 2rem;
}
.page-header {
padding: 3rem 2rem;
}
.hero h1, .page-header h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.page-header h1 {
font-size: 2.2rem;
margin-bottom: 0.5rem;
}
.search-container {
margin-top: 1.5rem;
display: flex;
justify-content: center;
}
.search-container input {
width: 100%;
max-width: 500px;
padding: 0.8rem 1.5rem;
font-size: 1rem;
border: none;
border-radius: 30px 0 0 30px;
outline: none;
}
.search-container button {
padding: 0.8rem 1.5rem;
font-size: 1rem;
border: none;
background-color: #451a1a;
color: white;
border-radius: 0 30px 30px 0;
cursor: pointer;
transition: background 0.2s;
}
.search-container button:hover {
background-color: #311010;
}
.container {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
display: grid;
grid-template-columns: 3fr 1fr;
gap: 2rem;
}
.filter-sidebar + section {
/*i suck mad dick honestly lmfao*/
}
@media (max-width: 768px) {
.container {
grid-template-columns: 1fr !important;
}
}
.section-title {
margin-bottom: 1.5rem;
font-size: 1.5rem;
border-left: 4px solid var(--primary-color);
padding-left: 0.5rem;
}
.results-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.software-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 1.5rem;
}
.software-card {
background: var(--card-background);
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 4px 6px rgba(153, 27, 27, 0.04);
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.software-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px rgba(153, 27, 27, 0.08);
}
.software-icon {
width: 48px;
height: 48px;
background-color: var(--accent-light);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin-bottom: 1rem;
}
.software-name {
font-weight: bold;
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
.software-meta {
font-size: 0.8rem;
color: var(--primary-color);
margin-bottom: 0.5rem;
font-weight: bold;
}
.software-desc {
color: var(--text-light);
font-size: 0.9rem;
margin-bottom: 1rem;
flex-grow: 1;
}
.download-btn {
display: block;
text-align: center;
background-color: var(--primary-color);
color: white;
text-decoration: none;
padding: 0.5rem;
border-radius: 6px;
font-size: 0.9rem;
font-weight: bold;
transition: background 0.2s;
}
.download-btn:hover {
background-color: var(--secondary-color);
}
.sidebar, .filter-sidebar {
background: var(--card-background);
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(153, 27, 27, 0.04);
height: fit-content;
}
.filter-group {
margin-bottom: 1.5rem;
}
.filter-group h3 {
font-size: 1.1rem;
margin-bottom: 0.8rem;
border-bottom: 2px solid var(--accent-light);
padding-bottom: 0.3rem;
}
.category-list, .filter-list {
list-style: none;
}
.category-list li, .filter-list li {
margin-bottom: 0.8rem;
}
.category-list a, .filter-list a {
color: var(--text-color);
text-decoration: none;
display: block;
padding: 0.3rem 0;
transition: color 0.2s;
}
.filter-list a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.4rem 0.6rem;
border-radius: 4px;
transition: all 0.2s;
}
.category-list a:hover, .filter-list a:hover, .filter-list a.active {
color: var(--primary-color);
}
.filter-list a:hover, .filter-list a.active {
background-color: var(--accent-light);
font-weight: bold;
}
.count {
font-size: 0.8rem;
background-color: #fca5a5;
color: #7f1d1d;
padding: 0.1rem 0.5rem;
border-radius: 10px;
}
footer {
background-color: #311010;
color: white;
text-align: center;
padding: 2rem;
margin-top: 4rem;
}