Untitled

 avatar
unknown
plain_text
10 months ago
4.4 kB
2
Indexable
html, body {
    cursor: url('img/cursor.png'), auto;
}
body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    background-color: #EDF8FF;
    background-image: url('img/background.png');
    background-size: cover;
    background-attachment: fixed;
}
header {
    background-image: url('img/header.png'); 
    background-size: cover;
    background-position: center top; 
    color: #fff;
    padding: 50px;
    text-align: center;
}
nav {
    background-color: #004AAD; 
    padding: 10px;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px; 
    display: inline-block;
    transition: background-color 0.3s; 
}
nav a:hover {
    background-color: #012D69;
}
section {
    padding: 20px;
}
h2 {
    color: #004AAD;
    font-size: 36px; 
    text-align: center;
}
footer {
    font-size: 14px;
    text-align: center;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
}
.footer-content img {
    width: 220px; 
    margin: 10px; 
}
.footer-content div {
    max-width: 600px;
    margin: 10px;
}
.intro {
    font-size: 22px; 
    text-align: center; 
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}
.article-grid.sub-category .article-link img {
    width: 400px; 
    height: 400px;
}
.article-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: black;
}
.article-link img {
    width: 220px;
    height: 220px;
    margin-bottom: 10px;
}
.article-link:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-signature {
    text-align: right;
}

.article-signature p {
    font-size: 14px;
    color: #888;
}

.article-content img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.article-content p {
    font-size: 18px;
    line-height: 1.6;
	margin: 20px 20px 20px;
}

.sub-category-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    text-align: center; 
}

.sub-category-link {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    width: 100%;
    max-width: 600px;
}

.sub-category-link:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.sub-category-link img {
    width: 500px; 
    height: auto; 
    margin-bottom: 30px;
    object-fit: cover; 
}

.sub-category-link span {
    font-size: 14px; 
    color: #004AAD;
}

.text-columns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.text-columns p {
    width: 45%; 
    text-align: justify;
}

.image-with-text img {
    width: 600px;
    height: auto;
}
.image-with-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.image-caption {
    text-align: center;
}

.image-text-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.image-text-column {
    flex: 1;
}
.cats2-image {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.cats2-image img {
    width: 450px;
    height: auto;
}

.cats2-image .image-text-column {
    text-align: left;
}
.centered-image {
    width: 800px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.large-text {
    font-size: 18px; 
}
.decorative-line {
    border: none; 
    border-top: 2px solid #004AAD; 
    margin: 10px auto; 
}






Editor is loading...
Leave a Comment