FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-basic-projects/global.css at master · mean-lean-machine/javascript-basic-projects · GitHub
mean-lean-machine
/
javascript-basic-projects
Public
forked from
john-smilga/javascript-basic-projects
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript-basic-projects
/
global.css
Copy path
More file actions
More file actions
Latest commit
History
History
History
152 lines (147 loc) · 2.8 KB
Breadcrumbs
javascript-basic-projects
/
global.css
Copy path
File metadata and controls
152 lines (147 loc) · 2.8 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
145
146
147
148
149
150
151
152
/*
===============
Fonts
===============
*/
@import
url
(
"https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap"
);
/*
===============
Variables
===============
*/
:
root
{
/* dark shades of primary color*/
--clr-primary-1
:
hsl
(
205
,
86
%
,
17
%
);
--clr-primary-2
:
hsl
(
205
,
77
%
,
27
%
);
--clr-primary-3
:
hsl
(
205
,
72
%
,
37
%
);
--clr-primary-4
:
hsl
(
205
,
63
%
,
48
%
);
/* primary/main color */
--clr-primary-5
:
hsl
(
205
,
78
%
,
60
%
);
/* lighter shades of primary color */
--clr-primary-6
:
hsl
(
205
,
89
%
,
70
%
);
--clr-primary-7
:
hsl
(
205
,
90
%
,
76
%
);
--clr-primary-8
:
hsl
(
205
,
86
%
,
81
%
);
--clr-primary-9
:
hsl
(
205
,
90
%
,
88
%
);
--clr-primary-10
:
hsl
(
205
,
100
%
,
96
%
);
/* darkest grey - used for headings */
--clr-grey-1
:
hsl
(
209
,
61
%
,
16
%
);
--clr-grey-2
:
hsl
(
211
,
39
%
,
23
%
);
--clr-grey-3
:
hsl
(
209
,
34
%
,
30
%
);
--clr-grey-4
:
hsl
(
209
,
28
%
,
39
%
);
/* grey used for paragraphs */
--clr-grey-5
:
hsl
(
210
,
22
%
,
49
%
);
--clr-grey-6
:
hsl
(
209
,
23
%
,
60
%
);
--clr-grey-7
:
hsl
(
211
,
27
%
,
70
%
);
--clr-grey-8
:
hsl
(
210
,
31
%
,
80
%
);
--clr-grey-9
:
hsl
(
212
,
33
%
,
89
%
);
--clr-grey-10
:
hsl
(
210
,
36
%
,
96
%
);
--clr-white
:
#
fff
;
--clr-red-dark
:
hsl
(
360
,
67
%
,
44
%
);
--clr-red-light
:
hsl
(
360
,
71
%
,
66
%
);
--clr-green-dark
:
hsl
(
125
,
67
%
,
44
%
);
--clr-green-light
:
hsl
(
125
,
71
%
,
66
%
);
--clr-black
:
#
222
;
--ff-primary
:
"Roboto"
,
sans-serif;
--ff-secondary
:
"Open Sans"
,
sans-serif;
--transition
:
all
0.3
s
linear;
--spacing
:
0.1
rem
;
--radius
:
0.25
rem
;
--light-shadow
:
0
5
px
15
px
rgba
(
0
,
0
,
0
,
0.1
);
--dark-shadow
:
0
5
px
15
px
rgba
(
0
,
0
,
0
,
0.2
);
--max-width
:
1170
px
;
--fixed-width
:
620
px
;
}
/*
===============
Global Styles
===============
*/
*
,
::
after
,
::
before
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box;
}
body
{
font-family
:
var
(
--ff-secondary
);
background
:
var
(
--clr-grey-10
);
color
:
var
(
--clr-grey-1
);
line-height
:
1.5
;
font-size
:
0.875
rem
;
}
ul
{
list-style-type
:
none;
}
a
{
text-decoration
:
none;
}
h1
,
h2
,
h3
,
h4
{
letter-spacing
:
var
(
--spacing
);
text-transform
:
capitalize;
line-height
:
1.25
;
margin-bottom
:
0.75
rem
;
font-family
:
var
(
--ff-primary
);
}
h1
{
font-size
:
3
rem
;
}
h2
{
font-size
:
2
rem
;
}
h3
{
font-size
:
1.25
rem
;
}
h4
{
font-size
:
0.875
rem
;
}
p
{
margin-bottom
:
1.25
rem
;
color
:
var
(
--clr-grey-5
);
}
@media
screen
and
(
min-width
:
800
px
) {
h1
{
font-size
:
4
rem
;
}
h2
{
font-size
:
2.5
rem
;
}
h3
{
font-size
:
1.75
rem
;
}
h4
{
font-size
:
1
rem
;
}
body
{
font-size
:
1
rem
;
}
h1
,
h2
,
h3
,
h4
{
line-height
:
1
;
}
}
/* global classes */
/* section */
.
section
{
padding
:
5
rem
0
;
}
.
section-center
{
width
:
90
vw
;
margin
:
0
auto;
max-width
:
1170
px
;
}
@media
screen
and
(
min-width
:
992
px
) {
.
section-center
{
width
:
95
vw
;
}
}
main
{
min-height
:
100
vh
;
display
:
grid;
place-items
:
center;
}
Back
|
FazBrowse Home
|
New Git URL