-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUtilities.css
114 lines (93 loc) · 1.96 KB
/
Utilities.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
:root{
--primary-background-color:hsl(217, 54%, 11%);
--secondary-color:hsl(216, 50%, 16%);
--tertiary-color:hsl(215, 51%, 70%);
--primary-font-color:hsl(215, 51%, 70%);
--secondary-font-color:hsl(215, 51%, 70%);
--white:hsl(0, 0%, 100%);
--primary-accent-color:hsl(178, 100%, 50%);
--secondary-accent-color:hsla(219, 100%, 42%, 0.74);
--soft-edges:8px;
--rounded-edges:20px;
--full-circle-border:50%;
--fs-small: 1rem;
--fs-medium:2rem;
--fs-large:3rem;
--fw-light: 200;
--fw-regular: 400;
--fw-medium: 500;
--fw-semi-bold: 600;
--fw-bold: 700;
--fw-extra-bold: 900;
}
/*___________________________________________Reset_____________________________________________*/
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
padding: 0;
margin: 0;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
list-style: none;
}
/* Set core body defaults */
body {
min-height: 100vh;
text-rendering: optimizeSpeed;
line-height: 1.5;
}
/* Make images easier to work with */
img,
picture {
max-width: 100%;
display: block;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/*______________________________________________Utility Classes____________________________________________*/
.grid-center{
display: grid;
place-items: center;
}
.flex-center{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.flex-column{
display: flex;
flex-direction: column;
}