generated from goitacademy/vanilla-app-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from TyronNIKO/fixing
global fixes, icons and swiper - working
- Loading branch information
Showing
14 changed files
with
355 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,66 @@ | ||
:root { | ||
/* colors */ | ||
--color-black: 28, 29, 32; | ||
--color-white: 250, 250, 250; | ||
--color-red: 237, 59, 68; | ||
--color-red-dark: 224, 55, 63; | ||
|
||
--color-green: 198, 227, 39; | ||
--color-blue: 0, 35, 232; | ||
--color-tomato: 230, 83, 60; | ||
--color-slate: 43, 68, 65; | ||
--color-orange: 255, 127, 8; | ||
|
||
/* gradients */ | ||
--gradient-red: linear-gradient( | ||
:root{/* colors */--color-black:28,29,32;--color-white:250,250,250;--color-red:237,59,68;--color-red-dark:224,55,63;--color-green:198,227,39;--color-blue:0,35,232;--color-tomato:230,83,60;--color-slate:43,68,65;--color-orange:255,127,8;/* gradients */--gradient-red:linear-gradient( | ||
-90deg, | ||
#1c1d20 50%, | ||
#69292d 68%, | ||
rgba(var(--color-red), 1) 100% | ||
); | ||
--gradient-red-tablet: linear-gradient( | ||
);--gradient-red-tablet:linear-gradient( | ||
-90deg, | ||
#1c1d20 25%, | ||
#69292d 43%, | ||
rgba(var(--color-red), 1) 100% | ||
); | ||
--gradient-green: linear-gradient( | ||
);--gradient-green:linear-gradient( | ||
-90deg, | ||
#1c1d20 50%, | ||
#596808 68%, | ||
rgba(var(--color-green), 0.76) 100% | ||
); | ||
--gradient-blue: linear-gradient( | ||
);--gradient-blue:linear-gradient( | ||
-90deg, | ||
#1c1d20 50%, | ||
#001958 68%, | ||
rgba(var(--color-blue), 1) 100% | ||
); | ||
--gradient-tomato: linear-gradient( | ||
);--gradient-tomato:linear-gradient( | ||
-90deg, | ||
#1c1d20 50%, | ||
#9f3626 68%, | ||
rgba(var(--color-tomato), 1) 100% | ||
); | ||
--gradient-slate: linear-gradient( | ||
);--gradient-slate:linear-gradient( | ||
-90deg, | ||
#1c1d20 50%, | ||
#1e3633 68%, | ||
rgba(var(--color-slate), 1) 100% | ||
); | ||
--gradient-orange: linear-gradient( | ||
);--gradient-orange:linear-gradient( | ||
-90deg, | ||
#1c1d20 50%, | ||
#ac5300 68%, | ||
rgba(var(--color-orange), 1) 100% | ||
); | ||
} | ||
.gradient { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-repeat: no-repeat; | ||
} | ||
.gradient-red { | ||
background: var(--gradient-red); | ||
} | ||
.gradient-red-tablet { | ||
background: var(--gradient-red-tablet); | ||
} | ||
.gradient-green { | ||
background: var(--gradient-green); | ||
} | ||
.gradient-blue { | ||
background: var(--gradient-blue); | ||
} | ||
.gradient-tomato { | ||
background: var(--gradient-tomato); | ||
} | ||
.gradient-slate { | ||
background: var(--gradient-slate); | ||
} | ||
.gradient-orange { | ||
background: var(--gradient-orange); | ||
} | ||
|
||
|
||
html { | ||
scroll-behavior: smooth; | ||
} | ||
|
||
body { | ||
background-color: rgba(var(--color-black), 1); | ||
color: rgba(var(--color-white), 1); | ||
font-weight: 500; | ||
font-size: 16px; | ||
font-family: 'Inter Tight', sans-serif; | ||
line-height: 1.5; | ||
letter-spacing: -0.02em; | ||
font-synthesis: none; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-text-size-adjust: 100%; | ||
} | ||
)} | ||
.gradient{position:absolute;top:0;left:0;width:100%;height:100%;background-repeat:no-repeat} | ||
.gradient-red{background:var(--gradient-red)} | ||
.gradient-red-tablet{background:var(--gradient-red-tablet)} | ||
.gradient-green{background:var(--gradient-green)} | ||
.gradient-blue{background:var(--gradient-blue)} | ||
.gradient-tomato{background:var(--gradient-tomato)} | ||
.gradient-slate{background:var(--gradient-slate)} | ||
.gradient-orange{background:var(--gradient-orange)} | ||
html{scroll-behavior:smooth} | ||
body{background-color:rgba(var(--color-black), 1);color:rgba(var(--color-white), 1);font-weight:500;font-size:16px;font-family:'Inter Tight',sans-serif;line-height:1.5;letter-spacing:-0.02em;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%} | ||
/* Mobile */ | ||
.container { | ||
width: 100%; | ||
min-width: 320px; | ||
max-width: 375px; | ||
margin: 0 auto; | ||
padding: 0 16px; | ||
} | ||
|
||
@media only screen and (min-width: 375px) { | ||
.container { | ||
max-width: 100%; | ||
} | ||
.container{width:100%;min-width:320px;max-width:375px;margin:0 auto;padding:0 16px} | ||
@media only screen and (min-width: 375px){ | ||
.container{max-width:100%} | ||
} | ||
/* Tablet */ | ||
@media only screen and (min-width: 768px) { | ||
.container { | ||
max-width: 768px; | ||
padding: 0 32px; | ||
} | ||
@media only screen and (min-width: 768px){ | ||
.container{max-width:768px;padding:0 32px} | ||
} | ||
|
||
/* Desktop */ | ||
@media only screen and (min-width: 1440px) { | ||
.container { | ||
max-width: 1440px; | ||
} | ||
@media only screen and (min-width: 1440px){ | ||
.container{max-width:1440px} | ||
} | ||
.arrow{--color:rgba(var(--color-white), 1); position:relative;display:flex;justify-content:center;align-items:center;width:21px;border:1px solid var(--color);border-radius:1px} | ||
.arrow::before,.arrow:after{content:'';position:absolute;right:-0.3px;width:11px;border:1px solid var(--color);border-radius:1px; background: var(--color);transform-origin:right;} | ||
.arrow::before{transform:rotate(45deg)} | ||
.arrow::after{transform:rotate(-45deg)} | ||
.arrow.arrow-left { | ||
transform: rotate(180deg); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.