Files
MaszToZadanieDomowe.com/assets/css/main.css

146 lines
2.6 KiB
CSS
Raw Normal View History

2025-09-08 20:37:01 +02:00
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
2025-09-21 21:53:34 +02:00
@import url('baza.css');
2025-09-08 20:37:01 +02:00
/* Tło */
@keyframes GradientScroll {
0% {
background-position: 0% 50%;
}
50% {
2025-09-22 13:16:18 +02:00
background-position: 100% 100%;
2025-09-08 20:37:01 +02:00
}
100% {
background-position: 0% 50%;
}
}
html {
background-color: var(--colorMantle);
background: linear-gradient(-45deg,
var(--colorMauve) 0%,
var(--colorLavender) 25%,
var(--colorSaphire) 50%,
var(--colorBlue) 75%,
var(--colorBlue) 100%
);
2025-09-21 21:53:34 +02:00
background-size: 1000vw 1000vh;
2025-09-22 13:16:18 +02:00
animation: GradientScroll 5s ease infinite;
2025-09-08 20:37:01 +02:00
}
/* Header */
header {
background-color: var(--colorBase);
background: linear-gradient(135deg, var(--colorSurface0) 0%, var(--colorSurface1) 100%);
/* border-bottom-left-radius: 1rem; */
border-radius: 1rem;
border: .3rem solid var(--colorOverlay1);
margin: .5rem;
padding: 0%;
padding-top: .5rem;
padding-bottom: .65rem;
padding-left: 1rem;
padding-right: 1rem;
}
header img {
float: left;
margin-right: 1rem;
}
header nav ul {
margin: 0%;
padding: 0%;
display: flex;
flex-direction: row;
gap: 1rem;
list-style: none;
}
/* Treść */
main {
background-color: var(--colorSurface0);
border: .35rem solid var(--colorOverlay0);
border-radius: 1rem;
margin: 2rem;
margin-left: auto;
margin-right: auto;
padding: 1rem;
max-width: 1680px;
width: 90vw;
2025-09-15 01:58:08 +02:00
user-select: text;
2025-09-08 20:37:01 +02:00
}
/* Stopka */
footer {
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: var(--colorBase);
background: linear-gradient(180deg, var(--colorSurface2) 0%, var(--colorSurface0) 66%, var(--colorBase) 100%);
/* border-bottom-left-radius: 1rem; */
border-radius: 1rem;
border: .3rem solid var(--colorOverlay1);
margin: .5rem;
padding: 1rem;
2025-09-15 01:58:08 +02:00
}
footer img {
2025-09-26 16:43:05 +02:00
height: 150px;
2025-09-15 01:58:08 +02:00
}
footer strong {
margin-top: .25rem;
2025-09-08 20:37:01 +02:00
}
footer div {
display: flex;
flex-direction: column;
}
footer div div ul {
display: flex;
flex-direction: column;
flex-wrap: 1;
margin: 0%;
margin-left: .5rem;
padding: 0%;
gap: .3rem;
list-style: none;
}
2025-09-15 01:58:08 +02:00
2025-09-23 07:38:49 +02:00
#extra {
display: none;
}
2025-09-23 16:00:42 +02:00
@media (width >= 600px) {
2025-09-23 07:38:49 +02:00
#extra {
display: flex;
}
}
2025-09-21 21:53:34 +02:00
/* Dodatkowe */
.flex-row {
flex-grow: 1;
2025-09-26 16:43:05 +02:00
display: flex;
2025-09-21 21:53:34 +02:00
flex-direction: row;
gap: 1rem;
2025-09-15 01:58:08 +02:00
}
2025-09-26 16:43:05 +02:00
.flex-row-reverse {
display: flex;
flex-direction: row-reverse;
}
.flex-col {
display: flex;
flex-direction: column;
}
2025-09-15 01:58:08 +02:00
.fixed25rem {
min-height: 25rem;
max-height: 25rem;
}