-
Notifications
You must be signed in to change notification settings - Fork 0
/
utils.css
144 lines (130 loc) · 2.77 KB
/
utils.css
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
:root {
--clr-dark-blue: #050c9c;
--clr-blue: #3572ef;
--clr-light-blue: #3abef9;
--clr-sky-blue: #a7e6ff;
--clr-black-1000: black;
--clr-black-800: rgba(0, 0, 0, 0.8);
--clr-black-600: rgba(0, 0, 0, 0.6);
--clr-black-400: rgba(0, 0, 0, 0.4);
--clr-black-200: rgba(0, 0, 0, 0.2);
--clr-white: white;
--clr-white-800: rgb(241, 241, 241);
--clr-white-600: rgb(228, 228, 228);
--clr-white-400: rgb(211, 211, 211);
--size-extra-sm: 0.5rem;
--size-sm: 0.8rem;
--size-normal: 1rem;
--size-medium: 1.8rem;
--size-large: 2.5rem;
--size-extra-large: 3rem;
--size-extra-extra-large: 5rem;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
html {
scroll-behavior: smooth;
}
body {
font-family: Verdana, sans-serif;
}
.container {
margin-left: auto;
margin-right: auto;
width: 100%;
}
.a-primary {
font-size: var(--size-normal);
border: none;
background: none;
text-decoration: none;
color: white;
padding: 0.5em 0.8em;
}
.a-primary:hover {
border: 0.1em solid var(--clr-white);
border-radius: 1em;
}
.a-primary:active {
background-color: var(--clr-white);
color: var(--clr-black-1000);
}
.a-secondary {
font-size: var(--size-normal);
border: none;
background: none;
text-decoration: none;
display: block;
width: fit-content;
color: var(--clr-white);
font-size: var(--size-medium);
padding: 1em 0.2em;
border-radius: 1em;
box-shadow: 0.01em 0.1em 0.5em var(--clr-sky-blue);
transition: all 0.3s linear;
}
.a-secondary:hover {
border: none;
box-shadow: -0.02em 0.1em 0.7em 0.1em var(--clr-sky-blue);
}
.a-secondary:active {
background: var(--clr-sky-blue);
color: white;
transform: translateY(-0.2em);
box-shadow: 0 0 0 0 var(--clr-sky-blue);
}
.a-secondary::after {
transition: all 0.4s;
}
.a-secondary::before {
transition: all 0.4s;
}
.a-secondary:hover::after {
top: -500%;
}
.a-secondary:hover::before {
top: -500%;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background-color: var(--clr-sky-blue);
}
/* Handle */
::-webkit-scrollbar-thumb {
background: var(--clr-black-1000);
border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: var(--clr-black-800);
}
/* laptop */
@media (min-width: 768px) {
.container {
}
}
/* teblet */
@media (min-width: 425px) {
.container {
}
}
/* mobile */
@media (max-width: 425px) {
.container {
}
}