forked from Groway-Studio/python-course-landing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_base.scss
More file actions
114 lines (96 loc) · 2.12 KB
/
_base.scss
File metadata and controls
114 lines (96 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
// @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&display=swap");
$primary-color: #084887;
$secondary-color: #f58a07;
$neutral-color-1000: #031d44;
$neutral-color-600: #111827;
$neutral-color-500: #2f2e41;
$neutral-color-400: #3f3d56;
$neutral-color-100: #f9f7f8;
$neutral-color-0: #ffffff;
$black: #000;
$yellow-light: #ffd875;
$size: 8px;
$spacing: 4px;
$grid: 1440px;
$container: 1024px;
$container-tablet: 674px;
$container-phone: 334px;
//-------- MEDIAQUERIES --------
$tablet: 768px;
$desktop: 900px;
$desktop_m: 1680px;
$desktop_xl: 1920px;
@mixin phone {
@media (max-width: #{$tablet - 1px}) {
@content;
}
}
@mixin tablet {
@media (min-width: #{$tablet}) and (max-width: #{$desktop - 1px}) {
@content;
}
}
@mixin desktop {
@media (min-width: #{$desktop}) {
@content;
}
}
@mixin desktop_hd {
@media (min-width: #{$desktop_m}) and (max-width: #{$desktop_xl}) {
@content;
}
}
@mixin devices {
@media (max-width: #{$desktop - 1px}) {
@content;
}
}
@mixin form {
form {
div {
&:nth-child(1) {
grid-column: 1 / -5;
}
&:nth-child(2) {
grid-column: -1 / -5;
}
&:nth-child(3) {
grid-column: 1 / -1;
}
&:nth-child(4) {
grid-column: 1 / -1;
position: relative;
@include tablet {
grid-column: 1 / -5;
}
input {
padding-left: 2.5rem;
}
label {
&:first-child {
border-radius: 10px;
bottom: 8px;
color: #4a81ae;
font-size: 14px;
font-weight: 500;
left: 5px;
margin: 0;
position: ABSOLUTE;
z-index: 100;
}
}
}
&:nth-child(5) {
grid-column: 1 / -1;
}
&:last-child {
grid-column: 2 / -1;
}
}
}
}
@mixin uppercase {
text-transform: uppercase;
}