msos/css/pages/_projects.css

231 lines
4.2 KiB
CSS

/* ==========================================================================
Projects Page Specific Styles (Listing Page)
========================================================================== */
/**
* Ta datoteka vsebuje stile, ki se uporabljajo izključno na strani s
* seznamom vseh projektov.
*
* 1. Glava strani (naslov, opis, obrazec za prijavo)
* 2. Sekcija z vsemi objavami (mreža)
* 3. Paginacija
* 4. Stili za stran s projekti na mobilnih napravah
*/
/* 1. Glava strani */
.page-content {
padding-top: 80px; /* Odmik za fiksno glavo */
}
.page-header-section {
padding: 96px 0;
background: #FFFFFF;
text-align: center;
}
.page-header-section .container.text-center {
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
max-width: 960px;
}
.page-subtitle {
font-weight: 600;
font-size: 16px;
color: #FA7850;
}
.page-header-section h1 {
font-weight: 600;
font-size: 48px;
line-height: 60px;
letter-spacing: -0.02em;
color: #101828;
margin: 0;
}
.page-description {
font-size: 20px;
line-height: 30px;
color: #667085;
max-width: 768px;
margin: 0;
}
.subscribe-form {
display: flex;
gap: 16px;
margin-top: 16px;
}
.subscribe-form input {
width: 360px;
height: 48px;
padding: 12px 16px;
border: 1px solid #D0D5DD;
border-radius: 8px;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
font-size: 16px;
box-sizing: border-box;
}
.subscribe-form .btn {
height: 48px;
/* SPREMEMBA: Dodan flexbox za popolno sredinsko poravnavo besedila znotraj gumba. */
display: flex;
align-items: center;
justify-content: center;
padding-top: 0;
padding-bottom: 0;
}
.privacy-note {
font-size: 14px;
color: #667085;
margin-top: -8px;
}
.privacy-note a {
color: #667085;
font-weight: 500;
}
/* 2. Sekcija z vsemi objavami */
.all-posts-section {
padding: 0 80px 96px;
}
.all-posts-section .container.column-layout {
flex-direction: column;
align-items: flex-start;
gap: 64px;
}
.all-posts-section h2 {
font-size: 24px;
font-weight: 600;
line-height: 32px;
color: #101828;
margin: 0;
}
.posts-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 48px 32px;
width: 100%;
}
/* 3. Paginacija */
.pagination {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 20px;
border-top: 1px solid #EAECF0;
}
.pagination-arrow {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 500;
color: #667085;
text-decoration: none;
}
.pagination-numbers {
display: flex;
gap: 2px;
}
.page-number {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 8px;
text-decoration: none;
font-size: 14px;
font-weight: 500;
color: #667085;
}
.page-number.active {
background-color: rgba(102, 112, 133, 0.16);
color: #2D738C;
}
.page-dots {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
color: #667085;
}
/* ==========================================================================
Mobile Projects Page Styles
========================================================================== */
@media (max-width: 768px) {
.page-content {
padding-top: 60px; /* Prilagoditev za fiksno glavo */
}
.page-header-section {
padding: 64px 24px;
}
.page-header-section h1 {
font-size: 32px;
line-height: 40px;
}
.page-description {
font-size: 16px;
line-height: 24px;
}
.subscribe-form {
flex-direction: column;
width: 100%;
}
.subscribe-form input {
width: 100%;
}
.all-posts-section {
padding: 48px 24px;
}
.all-posts-section .container.column-layout {
gap: 32px;
}
.posts-grid {
grid-template-columns: 1fr;
gap: 48px;
}
.pagination {
flex-direction: column;
gap: 24px;
}
.pagination-numbers {
order: -1;
}
}