Skip to content

Commit

Permalink
Merge pull request #1 from TetiZ/container/variables
Browse files Browse the repository at this point in the history
Container/variables
  • Loading branch information
TetiZ authored Jan 23, 2024
2 parents bfdfec1 + a56388d commit bfa45f6
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/css/base/container.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
html {
scroll-behavior: smooth;
transition-duration: 3s;
}

.container {
min-width: 320px;
margin-left: auto;
margin-right: auto;
padding-left: 20px;
padding-right: 20px;
border-radius: 50px;
}

@media screen and (min-width: 375px) {
.container {
width: 375px;
margin: 0 auto;
}
}

@media screen and (min-width: 768px) {
.container {
width: 768px;
padding-left: 16px;
padding-right: 16px;
}
}

@media screen and (min-width: 1280px) {
.container {
width: 1120px;
padding-left: 16px;
padding-right: 16px;
}
}

@media screen and (min-width: 1440px) {
.container {
width: 1280px;
}
}
6 changes: 6 additions & 0 deletions src/css/utils/variables.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
:root {
--white: #FFFFFF;
--light-gray: #E8E8E8;
--dark-grey: #7E847F;
--black: #1B1B1B;
}

0 comments on commit bfa45f6

Please sign in to comment.