Skip to content

Commit

Permalink
Merge pull request #91 from gudzsv/feature/section-text
Browse files Browse the repository at this point in the history
Change color section-title
  • Loading branch information
gudzsv committed May 1, 2024
2 parents 3d1780a + 160de5e commit ca4ebf2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
1 change: 1 addition & 0 deletions src/assets/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ body {

.section-title {
color: var(--Opacity_40);
font-size: 16px;
font-weight: 600;
line-height: 1.5;
letter-spacing: -0.02em;
Expand Down
3 changes: 2 additions & 1 deletion src/assets/css/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
--Main_text: #fafafa;
--Opacity_10: rgba(250, 250, 250, 0.1);
--Opacity_20: rgba(250, 250, 250, 0.2);
--Opacity_40: rgba(250, 250, 250, 0.4);
--Opacity_40: #FAFAFAA6;
/* --Opacity_40: rgba(250, 250, 250, 0.4); */
--Opacity_60: rgba(250, 250, 250, 0.6);
--Success_message: #3cbc81;
--Error_message: #e74a3b;
Expand Down
29 changes: 10 additions & 19 deletions src/partials/projects/projects.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
list-style: none;
padding: 0;
margin: 0;

}
.project-card {
display: flex;
flex-direction: column;
border-radius: 24px;
overflow: hidden;
overflow: hidden;
height: auto;
}
@keyframes slideLeftToRight {
Expand Down Expand Up @@ -54,15 +54,15 @@ line-height: 19.36px;
letter-spacing: -0.02em;
text-align: left;


}
.right-part {
flex: 1;
background-color: #242527;
padding: 100px 16px;
display: flex;
justify-content: center;
align-items: center;
align-items: center;
}
.project-card .right-part img {
max-width: 100%;
Expand Down Expand Up @@ -128,30 +128,21 @@ text-align: left;
overflow-y: hidden;
}

.projects-header {
font-family: Inter Tight;
font-size: 16px;
font-weight: 600;
line-height: 24px;
letter-spacing: -0.02em;
text-align: left;
color: #FAFAFA66;
}
.projects-header {
margin-bottom: 64px;
}
.project-swiper-btn {
display: flex;
display: flex;
justify-content: center;
align-items: center;
align-items: center;
width: 52px;
height: 52px;
padding: 14px;
gap: 10px;
border-radius: 60px;
border: 1px solid #FAFAFA80;
background-color: transparent;
fill: none;
fill: none;
stroke: #fafafa;
}
.project-swiper-btn:disabled {
Expand All @@ -166,7 +157,7 @@ color: #FAFAFA66;
.project-swiper-btn:not([disabled]):hover .project-btn-icon,
.project-swiper-btn:not([disabled]):focus .project-btn-icon {
stroke: #E0373F;

}

/* =============TABLET====================== */
Expand Down Expand Up @@ -196,7 +187,7 @@ color: #FAFAFA66;
width: 32px;
height: 32px;
}
.project-swiper-btn {
.project-swiper-btn {
width: 68px;
height: 68px;
padding: 18px;
Expand Down Expand Up @@ -226,4 +217,4 @@ color: #FAFAFA66;
.projects-swiper-btns {
padding-bottom: 164x;
}
}
}
2 changes: 1 addition & 1 deletion src/partials/projects/projects.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="projects" id="projects">
<div class="swiper-container container">
<h2 class="projects-header">PROJECTS</h2>
<h2 class="projects-header section-title">PROJECTS</h2>
<div class="swiper-wrapper">

<div class="swiper-slide">
Expand Down

0 comments on commit ca4ebf2

Please sign in to comment.