-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
85 lines (71 loc) · 1.14 KB
/
styles.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
:root {
--main-colour: #3D3D3D;
--highlight-colour: #0D0D0D;
}
* {
box-sizing: border-box;
}
body {
font-family: Verdana, sans-serif;
width: 70%;
max-width: 900px;
margin: auto;
color: var(--main-colour);
padding: 20px 0;
}
h1, h2, h3, h4, h5, h6, b {
color: var(--highlight-colour)
}
h1 {
text-align: center;
}
.intro {
width: 100%;
display: grid;
grid-template-columns: 200px auto;
align-items: center;
grid-gap: 50px;
padding: 20px 0;
}
.intro p {
font-size: 1.5rem;
}
.intro img {
width: 100%;
margin: auto;
max-width: 250px;
border-radius: 50%;
}
.icon-row {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
}
.icon-row a svg {
width: 4.5rem;
fill: var(--main-colour);
transition: fill .3s ease;
margin: 10px 20px;
}
.icon-row a svg:hover {
fill: var(--highlight-colour);
}
.heart {
color: red;
}
footer {
text-align: center;
margin-top: 40px;
border-top: 2px solid var(--main-colour);
}
@media screen and (max-width: 800px) {
body {
width: 100%;
padding: 20px;
}
.intro {
grid-template-columns: 1fr;
grid-gap: 10px;
}
}