CertifyMaster/styles.css
Ask

436 lines
7.8 KiB
CSS

{a3ceaf20f1c3d854ff60b4d8ac6b0cf61c67b9c0 true 7984 styles.css 0xc001f9c310}

/* General body styling */
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #020617, #1e293b);
margin: 0;
padding: 20px;
overflow-x: hidden;
}
/* Container to prevent touching borders */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Glass effect for containers */
.glass {
background: #ffffff10;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid #ffffff4d;
box-shadow: 0 8px 32px #23243325;
border-radius: 20px;
padding: 1.5rem;
margin: 1rem 0;
}
/* Glass effect for cards */
.glass-card {
background: #ffffff0a;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid #ffffff33;
transition: all 0.3s ease;
border-radius: 20px;
padding: 1.5rem;
margin-bottom: 1rem;
box-shadow: 0 15px 25px #1819254d;
}
.glass-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.075);
box-shadow: 0 20px 45px #1a1a2466;
}
/* Header styling */
header {
color: white;
text-align: center;
padding: 2rem 0;
margin-bottom: 2rem;
border-radius: 20px;
background: rgba(255, 255, 255, 0.2);
}
/* Headings */
h1 {
font-size: 3.5rem;
font-weight: 700;
margin: 0;
}
h2 {
font-size: 2.5rem;
color: #fff;
font-weight: 600;
margin-bottom: 1rem;
}
/* Navigation */
nav {
text-align: center;
margin-bottom: 2rem;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}
li {
display: inline-block;
}
a {
color: #fff;
text-decoration: none;
padding: 10px 15px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.15);
transition: background-color 0.3s, color 0.3s;
font-weight: 500;
display: block;
}
a:hover {
background-color: rgba(255, 255, 255, 0.3);
}
/* Section styling */
.section {
margin-bottom: 2rem;
padding: 2rem;
border-radius: 20px;
overflow: hidden;
}
/* Description section */
.description {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.description.expanded {
max-height: 500px;
}
.description-trigger {
cursor: pointer;
color: #fff;
background: rgba(255, 255, 255, 0.2);
padding: 10px;
border-radius: 10px;
text-align: center;
margin: 10px 0;
transition: background-color 0.3s;
}
.description-trigger:hover {
background: rgba(255, 255, 255, 0.3);
}
/* Filter section */
.filter-options {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
background: rgba(255, 255, 255, 0.2);
padding: 1rem;
border-radius: 20px;
box-shadow: 0 5px 20px rgba(31, 38, 135, 0.15);
}
.filter-group {
display: flex;
gap: 1rem;
width: 100%;
}
.expiration-filter,
.provider-filter {
flex: 1;
}
.filter-options label {
font-size: 1.2rem;
color: white;
margin-right: 0.5rem;
display: block;
margin-bottom: 0.5rem;
}
/* Improved dropdown styling */
.filter-options select,
.filter-options input {
padding: 0.8rem;
border: none;
border-radius: 20px;
background: #252638b3;
color: white;
width: 100%;
font-size: 1rem;
outline: none;
box-shadow: 0 2px 10px rgba(31, 38, 135, 0.1);
transition: all 0.3s ease;
}
.filter-options select option {
background-color: #5f6999;
color: white;
padding: 10px;
}
.filter-options select:hover,
.filter-options input:hover,
.filter-options select:focus,
.filter-options input:focus {
background: #636670cc;
box-shadow: 0 5px 20px #1c1e334d;
}
/* Table styling */
.table-wrapper {
overflow-x: auto;
margin: 1rem 0;
}
table {
width: 100%;
border-collapse: collapse;
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
overflow: hidden;
}
th, td {
padding: 12px 15px;
text-align: left;
color: white;
}
th {
background-color: #1f268780;
white-space: nowrap;
}
td {
background-color: #ffffff1a;
}
.provider-name {
font-weight: 700;
color: #fff;
}
.description-text {
font-style: italic;
}
.expiration-text {
font-weight: 600;
color: #FFD700;
}
/* Footer */
footer {
background-color: rgba(255, 255, 255, 0.1);
padding: 20px 0;
text-align: center;
border-radius: 20px;
margin-top: 2rem;
color: #fff;
}
/* Styling for the arrow icon including float, font size, transition effects, and cursor */
.arrow {
float: right;
font-size: 2rem;
transition: transform 0.3s, color 0.3s;
cursor: pointer;
}
/* Arrow hover effect for color and rotation */
.arrow:hover {
color: #fdfdfd;
transform: rotate(180deg);
}
/* Responsive styles */
@media (max-width: 768px) {
body {
padding: 10px;
}
.container {
padding: 0 10px;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
.section {
padding: 1rem;
}
.filter-options {
flex-direction: column;
}
.filter-group {
flex-direction: column;
}
.filter-options select,
.filter-options input {
width: 95%;
}
}
.arrow {
font-size: 1.5rem;
transition: transform 0.3s ease;
}
/* Unique text styles */
.provider-name {
font-weight: 700;
color: #FFD700;
font-size: 1.1rem;
letter-spacing: 0.5px;
}
.description-text {
font-style: italic;
color: #E0E0E0;
line-height: 1.4;
font-size: 0.95rem;
}
.link-text {
color: #00FF00;
font-weight: 600;
text-decoration: underline;
font-size: 1rem;
}
.expiration-text {
font-weight: 600;
color: #FF69B4;
font-size: 0.9rem;
text-transform: uppercase;
}
.technology-text {
color: #87CEEB;
font-weight: 500;
font-size: 1rem;
letter-spacing: 0.3px;
}
/* Enhanced mobile styles */
@media (max-width: 480px) {
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
.glass-card {
padding: 1rem;
}
/* Mobile-optimized table layout */
table {
border: 0;
background: none;
}
table thead {
display: none;
}
table tr {
margin-bottom: 1rem;
display: block;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 1rem;
}
table td {
display: block;
text-align: left;
padding: 0.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
background: none;
}
table td:last-child {
border-bottom: none;
}
/* Add labels for mobile view */
table td::before {
content: attr(data-label);
font-weight: bold;
text-transform: uppercase;
display: block;
margin-bottom: 0.5rem;
font-size: 0.8rem;
color: #FFD700;
}
.provider-name {
font-size: 1rem;
margin: 0.5rem 0;
}
.description-text {
font-size: 0.9rem;
margin: 0.5rem 0;
line-height: 1.3;
}
.link-text {
font-size: 0.9rem;
margin: 0.5rem 0;
}
.expiration-text {
font-size: 0.85rem;
margin: 0.5rem 0;
}
.technology-text {
font-size: 0.95rem;
margin: 0.5rem 0;
}
/* Remove horizontal scroll */
.table-wrapper {
margin: 0;
padding: 0;
}
}