-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (80 loc) · 1.25 KB
/
style.css
File metadata and controls
98 lines (80 loc) · 1.25 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
:root {
--primary-color: #5FE2D1;
--base-color: #fff;
--bg-color: #292929;
}
* {
box-sizing: border-box;
}
body {
background: var(--bg-color);
color: var(--primary-color);
font-family: 'Lato', sans-serif;
/* font-weight: 700; */
line-height: 1.3;
text-align: center;
}
.container {
margin: 4rem;
}
h1 {
font-size: 4rem;
font-weight: 700;
}
ul {
display: flex;
flex-wrap: wrap;
padding: 2rem;
text-align: left;
}
li {
width: 30%;
padding: .6rem;
font-size: 1.3rem;
list-style: linear-gradient(45deg, var(--base-color), var(--base-color) 50%, var(--primary-color) 50%, var(--primary-color));
}
a {
color: var(--base-color);
text-decoration: none;
border-bottom: 2px solid transparent;
transition: all .3s ease;
}
li a:visited {
color: #7f7f7f;
}
a:hover {
/* color: var(--primary-color); */
border-color: var(--primary-color);
}
a:active {
cursor: progress;
}
footer {
margin-bottom: 10%;
}
/* @media Queries */
@media(max-width: 1200px) {
.container {
margin: 3rem;
}
ul {
padding: 1rem;
}
li {
width: 50%;
}
}
@media(max-width: 700px) {
.container {
margin: 2rem;
}
ul {
flex-direction: column;
}
li {
width: 100%;
}
span {
display: block;
}
}