Zaktualizuj style SCSS dla sekcji materiałów do pobrania, poprawiając formatowanie i dodając nowe style dla elementów.

This commit is contained in:
2025-04-02 15:02:04 +02:00
parent 139cc349aa
commit 13da308343
3 changed files with 259 additions and 244 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,311 +2,326 @@
@import 'variables';
body {
background-color: #f8f7f3;
background-color: #f8f7f3;
}
.page-data {
overflow: hidden;
overflow: hidden;
}
.container {
@include respond-above(xxl) {
max-width: 1530px;
}
@include respond-above(xxl) {
max-width: 1530px;
}
}
.h2 {
font-size: 50px;
font-weight: 250;
line-height: 1;
letter-spacing: 2px;
font-family: $font3;
font-size: 50px;
font-weight: 250;
line-height: 1;
letter-spacing: 2px;
font-family: $font3;
@include respond-below(xs) {
font-size: 34px;
}
@include respond-below(xs) {
font-size: 34px;
}
}
.h3 {
font-size: 34px;
font-weight: 300;
line-height: 1;
letter-spacing: 2px;
font-family: $font3;
color: #1d1d1e;
font-size: 34px;
font-weight: 300;
line-height: 1;
letter-spacing: 2px;
font-family: $font3;
color: #1d1d1e;
@include respond-below(xs) {
font-size: 24px;
}
@include respond-below(xs) {
font-size: 24px;
}
}
.h4 {
font-size: 24px;
font-weight: 300;
line-height: 1;
letter-spacing: 2px;
font-family: $font3;
color: #1d1d1e;
font-size: 24px;
font-weight: 300;
line-height: 1;
letter-spacing: 2px;
font-family: $font3;
color: #1d1d1e;
}
.p {
font-size: 16px;
font-weight: 300;
line-height: 24.8px;
font-size: 16px;
font-weight: 300;
line-height: 24.8px;
strong {
font-weight: 700;
}
strong {
font-weight: 700;
}
}
.box-mb {
margin-bottom: 120px;
@include respond-below(xs) {
margin-bottom: 60px;
}
margin-bottom: 120px;
@include respond-below(xs) {
margin-bottom: 60px;
}
}
#scontainer-148 {
@extend .box-mb;
@extend .box-mb;
h2 {
@extend .h2;
text-transform: uppercase;
margin-bottom: 48px;
padding-bottom: 48px;
border-bottom: 1px solid #000000;
h2 {
@extend .h2;
text-transform: uppercase;
margin-bottom: 48px;
padding-bottom: 48px;
border-bottom: 1px solid #000000;
@include respond-below(sm) {
margin-bottom: 30px;
padding-bottom: 30px;
}
}
@include respond-below(sm) {
margin-bottom: 30px;
padding-bottom: 30px;
}
}
p {
@extend .h3;
text-transform: uppercase;
margin-bottom: 0;
}
p {
@extend .h3;
text-transform: uppercase;
margin-bottom: 0;
}
.col-left {
max-width: 560px;
.col-left {
max-width: 560px;
@include respond-below(sm) {
margin-bottom: 30px;
}
}
@include respond-below(sm) {
margin-bottom: 30px;
}
}
}
#scontainer-149 {
@extend .box-mb;
@extend .box-mb;
p {
color: #ffffff;
font-size: 24px;
font-weight: 300;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
margin-bottom: 40px;
p {
color: #ffffff;
font-size: 24px;
font-weight: 300;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
margin-bottom: 40px;
@include respond-below(xs) {
margin-bottom: 20px;
}
}
.row {
&-1 {
margin-bottom: 40px;
@include respond-below(xs) {
margin-bottom: 20px;
}
}
ul {
padding: 0;
margin: 0;
list-style: none;
.row {
&-1 {
margin-bottom: 40px;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
ul {
padding: 0;
margin: 0;
list-style: none;
li {
a {
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
display: flex;
align-items: center;
padding: 18px 35px;
background: #1d1d1e;
}
}
}
}
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
&-2 {
justify-content: center;
li {
a {
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
display: flex;
align-items: center;
padding: 18px 35px;
background: #1d1d1e;
}
}
}
}
> div {
margin-bottom: 20px;
padding: 0 10px;
&-2 {
justify-content: center;
> div {
padding: 70px 40px;
background: #1d1d1e;
height: 100%;
>div {
margin-bottom: 20px;
padding: 0 10px;
@include respond-below(xs) {
padding: 40px 10px;
}
}
}
>div {
padding: 70px 40px;
background: #1d1d1e;
height: 100%;
ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
justify-content: center;
flex-direction: row;
gap: 8px;
@include respond-below(xs) {
padding: 40px 10px;
}
}
}
li {
&:nth-child(1) {
a {
background: #dfdfdf;
ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
justify-content: center;
flex-direction: row;
gap: 8px;
&::after {
content: url('/upload/filemanager/icon/file.svg');
}
}
}
&:nth-child(2) {
a {
background: #fff;
li {
&:nth-child(1) {
a {
background: #dfdfdf;
&::after {
content: url('/upload/filemanager/icon/see.svg');
}
}
}
&::after {
content: url('/upload/filemanager/icon/file.svg');
}
}
}
a {
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
&:nth-child(2) {
a {
background: #fff;
display: flex;
align-items: center;
gap: 10px;
position: relative;
padding: 18px 35px;
&::after {
content: url('/upload/filemanager/icon/see.svg');
}
}
}
&::after {
height: 24px;
width: 24px;
}
a {
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
&:hover {
color: #1d1d1e;
}
display: flex;
align-items: center;
gap: 10px;
position: relative;
padding: 18px 35px;
@include respond-below(xs) {
padding: 15px;
}
}
}
}
}
}
&::after {
height: 24px;
width: 24px;
}
&:hover {
color: #1d1d1e;
}
@include respond-below(xs) {
padding: 15px;
}
}
}
}
}
}
}
#scontainer-162 {
@extend .box-mb;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
@extend .box-mb;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
.row {
&-1 {
margin-bottom: 40px;
.row {
&-1 {
margin-bottom: 40px;
ul {
padding: 0;
margin: 0;
list-style: none;
ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
li {
a {
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
display: flex;
align-items: center;
padding: 18px 35px;
background: #1d1d1e;
}
}
}
}
li {
a {
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
display: flex;
align-items: center;
padding: 18px 35px;
background: #1d1d1e;
}
}
}
}
&-2 {
justify-content: center;
&-2,
&-4 {
justify-content: center;
ul {
margin: 0 0 50px 0;
padding: 0;
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
ul {
margin: 0 0 50px 0;
padding: 0;
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
li {
max-width: 350px;
margin-left: auto;
margin-right: auto;
li {
max-width: 350px;
margin-left: auto;
margin-right: auto;
a {
border: 1px solid #d4d4d4;
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 15px;
color: #000;
transition: ease 0.3s all;
position: relative;
gap: 10px;
a {
border: 1px solid #d4d4d4;
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 25px;
color: #000;
transition: ease 0.3s all;
position: relative;
gap: 10px;
&:hover {
border: 1px solid #000;
}
&:hover {
border: 1px solid #000;
}
span {
position: relative;
font-size: 16px;
font-weight: 600;
margin-bottom: 0;
img {
width: 100%;
}
display: flex;
align-items: center;
gap: 10px;
span {
position: relative;
font-size: 16px;
font-weight: 600;
margin-bottom: 0;
&::after {
content: url('/upload/filemanager/icon/file.svg');
line-height: 1;
}
}
}
}
}
}
}
display: flex;
align-items: center;
gap: 10px;
&::after {
content: url('/upload/filemanager/icon/file.svg');
line-height: 1;
}
}
}
}
}
}
}
}
body.page-5 {
background: #FFF;
}