nvidia-hate/css/style.css

225 lines
3.2 KiB
CSS

body {
margin: 0;
padding: 0;
position: relative;
font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: #333;
}
header {
position: fixed;
width: 100%;
padding: 10px 15px;
top: 0;
left: 0;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
box-sizing: border-box;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
background-color: white;
border-radius: 0 0 20px 20px;
}
/*https://getcssscan.com/css-buttons-examples button 6*/
nav > a {
position: relative;
margin: 0;
padding: calc(0.675rem - 1px) calc(1.2rem - 1px);
min-height: 3rem;
display: inline-flex;
align-items: center;
background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.04) 0 2px 4px 0;
box-sizing: border-box;
color: rgba(0, 0, 0, 0.85);
cursor: pointer;
text-decoration: none;
font-family: inherit;
font-size: 15px;
font-weight: 500;
line-height: 1.25;
transition: all 0.2s ease;
}
nav > a:hover {
background-color: #f5f6f7;
box-shadow: rgba(0, 0, 0, 0.08) 0 4px 8px 0;
text-decoration: none;
}
.current-tab {
background-color: #75b700;
color: white;
box-shadow: #75b70040 0 4px 12px 0;
}
.current-tab:hover {
background-color: #559700;
color: white;
box-shadow: #55970040 0 4px 12px 0;
}
nav {
display: flex;
gap: 20px;
justify-content: space-between;
}
main {
margin-top: 110px;
width: 50vw;
margin-left: 25vw;
}
table {
width: 100%;
margin: 2rem 0;
border-collapse: collapse;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
th:first-child {
border-bottom-left-radius: 8px;
}
th:last-child {
border-bottom-right-radius: 8px;
position: relative;
}
th:last-child::before {
content: "";
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: #27ae60;
z-index: -1;
}
th {
width: 33%;
padding: 1rem;
background-color: #2c3e50;
color: white;
border: none;
text-align: center;
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
td {
padding: 0.875rem 1rem;
text-align: center;
border-bottom: 1px solid #e8e8e8;
vertical-align: middle;
}
tr:last-child td {
border-bottom: none;
}
td:first-child {
text-align: left;
font-weight: 500;
color: #2c3e50;
}
td.great {
background-color: #27ae60;
color: white;
font-weight: 600;
}
td.sad {
background-color: #e74c3c;
color: white;
font-weight: 600;
}
td.ok {
background-color: #f39c12;
color: white;
font-weight: 600;
}
h1,
h2,
h3 {
font-weight: 600;
color: #2c3e50;
}
h1 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
}
h2 {
font-size: 1.75rem;
margin-top: 2.5rem;
margin-bottom: 1rem;
}
p {
margin-bottom: 1rem;
}
a {
color: #3498db;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#anti-logo {
height: 49px;
width: 49px;
padding: 10px;
aspect-ratio: initial;
object-fit: cover;
border-radius: 100%;
box-shadow: rgba(0, 0, 0, 0.08) 0 4px 8px 0;
}
@media (max-width: 1000px) {
main {
margin-left: 5%;
width: 90%;
}
}