Files
Portfolio/styles/ArticlesPage.module.css
2025-05-13 12:12:47 +02:00

66 lines
1.1 KiB
CSS

.layout {
max-width: 1200px;
margin: 0 auto;
height: 100%;
width: 100%;
}
.container {
margin-top: 1.5rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.pageTitle {
font-size: 2rem;
font-weight: 700;
color: var(--accent-color);
margin-bottom: 1.5rem;
letter-spacing: -0.03em;
line-height: 1.2;
}
.pageSubtitle {
font-size: 1rem;
font-weight: 400;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 3rem;
max-width: 600px;
line-height: 1.6;
}
.underline {
cursor: pointer;
color: white;
text-decoration: none;
background-image: linear-gradient(
120deg,
var(--accent-color) 100%,
var(--accent-color) 100%
);
background-repeat: no-repeat;
background-size: 100% 0.2em;
background-position: 0 88%;
transition: background-size 0.25s ease-in;
}
.underline:hover {
background-size: 100% 88%;
}
@media screen and (max-width: 900px) {
.container {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.pageTitle {
font-size: 1.75rem;
}
.pageSubtitle {
font-size: 1rem;
margin-bottom: 2rem;
}
}