Skip to content

style.css #5056

@stfsdr6sgs-eng

Description

@stfsdr6sgs-eng

/* GLOBAL STYLES & RESET /
:root {
--primary-color: #007bff; /
Blue for highlights /
--secondary-color: #6c757d; /
Gray for subtle text /
--background-color: #f8f9fa; /
Light background /
--text-color: #343a40; /
Dark text */
--light-text-color: #fff;
}

  • {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }

body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* NAVIGATION BAR */
.navbar {
background: var(--light-text-color);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 500;
}

.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
}

.logo {
font-size: 1.8em;
color: var(--primary-color);
}

.navbar nav a {
color: var(--text-color);
text-decoration: none;
margin-left: 20px;
font-weight: bold;
transition: color 0.3s;
}

.navbar nav a:hover {
color: var(--primary-color);
}

/* BUTTONS */
.cta-button {
display: inline-block;
background: var(--primary-color);
color: var(--light-text-color);
padding: 10px 25px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
margin-top: 20px;
transition: background 0.3s;
}

.cta-button:hover {
background: #0056b3;
}

.cta-button.secondary {
background: var(--secondary-color);
}

.cta-button.secondary:hover {
background: #5a6268;
}

/* SECTIONS */
.content-section {
padding: 80px 0;
text-align: center;
}

.content-section h2 {
font-size: 2.5em;
margin-bottom: 20px;
border-bottom: 3px solid var(--primary-color);
display: inline-block;
padding-bottom: 5px;
}

/* HERO SECTION */
.hero-section {
background-color: #e9ecef;
min-height: 500px;
display: flex;
align-items: center;
text-align: center;
}

.hero-content {
color: var(--text-color);
padding: 40px;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
}

.hero-content h1 {
font-size: 3em;
margin-bottom: 10px;
}

.tagline {
font-size: 1.2em;
color: var(--secondary-color);
}

/* TOOLS SECTION */
.tool-section {
background-color: var(--light-text-color);
}

.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 40px;
text-align: left;
}

.tool-card {
padding: 20px;
border: 1px solid #dee2e6;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tool-card h3 {
color: var(--primary-color);
margin-bottom: 15px;
}

.tool-card ul {
list-style: disc;
padding-left: 20px;
}

/* UPDATES SECTION */
.update-section {
background-color: #e9ecef;
}

.update-feed {
margin-top: 40px;
display: flex;
flex-direction: column;
gap: 20px;
text-align: left;
}

.update-item {
background: var(--light-text-color);
padding: 25px;
border-left: 5px solid var(--primary-color);
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.update-item h3 {
margin-bottom: 5px;
color: #333;
}

.update-item .date {
font-style: italic;
font-size: 0.9em;
color: var(--secondary-color);
margin-bottom: 10px;
}

/* CONTACT & FOOTER */
.social-links a {
color: var(--primary-color);
margin: 0 10px;
text-decoration: none;
font-size: 1.1em;
}

footer {
background: var(--text-color);
color: var(--light-text-color);
padding: 20px 0;
text-align: center;
font-size: 0.9em;
}

/* ======================= /
/
MODAL STYLES /
/
======================= */

.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.8);
backdrop-filter: blur(8px);
text-align: center;
/* Use flex for vertical centering */
align-items: center;
justify-content: center;
}

.modal-content {
background-color: white;
/* Removed 'margin: 10% auto;' since flex is used */
padding: 40px;
border-radius: 15px;
max-width: 550px;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
position: relative;
animation: fadeIn 0.5s;
}

.modal-content h2 {
color: var(--primary-color);
font-size: 2em;
}

.close-button {
color: #aaa;
float: right;
font-size: 32px;
font-weight: bold;
cursor: pointer;
position: absolute;
top: 15px;
right: 25px;
}

.close-button:hover,
.close-button:focus {
color: #333;
}

#enterSiteButton {
background-color: var(--primary-color);
color: white;
padding: 12px 30px;
border: none;
border-radius: 50px; /* Pill shape */
cursor: pointer;
font-size: 18px;
margin-top: 25px;
transition: background 0.3s;
}

#enterSiteButton:hover {
background-color: #0056b3;
}

@Keyframes fadeIn {
from {opacity: 0; transform: translateY(-50px);}
to {opacity: 1; transform: translateY(0);}
}

/* MEDIA QUERIES for Responsiveness */
@media (max-width: 768px) {
.navbar .container {
flex-direction: column;
padding-bottom: 10px;
}
.navbar nav {
margin-top: 10px;
}
.navbar nav a {
margin: 0 10px;
}
.hero-content h1 {
font-size: 2em;
}
.modal-content {
width: 90%;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions