-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (92 loc) · 1.69 KB
/
style.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
:root {
--primary-color: #264653;
--secondar-color: #2A9D8F;
--tertiary-color: #E9C46A;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: var(--secondar-color);
}
#navbar {
background-color: var(--primary-color);
position: fixed;
top: 0;
width: 100vw;
box-shadow: 0 1px 1px var(--tertiary-color);
}
ul {
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: row;
font-size: 3em;
list-style-type: none;
}
li a {
display: block;
color: whitesmoke;
padding: 8px 16px;
text-decoration: none;
}
#welcome-section {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1 {
font-size: 5vw;
}
h2 {
font-size: 3em;
color: whitesmoke;
padding: 8vh;
}
i {
color: var(--tertiary-color);
padding: 20px;
margin-top: 40px;
}
i:hover {
color: white;
}
#projects {
text-align: center;
background-color: var(--primary-color);
}
.project-tile {
padding-bottom: 1rem;
margin: 1rem 1rem;
text-align: center;
border: var(--tertiary-color) solid 2px;
}
.project-picture img {
width: 50%;
object-fit: cover;
height: auto;
margin: 10px;
}
footer {
color: whitesmoke;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 10vh;
background-color: var(--primary-color);
border-top: var(--tertiary-color) solid 2px;
padding: 20px;
padding-right: 10%;
padding-left: 10%;
margin: 0;
}
@media screen and (max-width: 600px) {
ul {
flex-direction: column;
}
}