-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
108 lines (93 loc) · 1.79 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
background-color: #202020;
text-align: center;
margin-top: -30px;
padding: 30px 0;
background-image: radial-gradient(circle, #202020, #150f24);
}
body {
background-color: #150f24;
color: #ffffff;
font-family: 'Montserrat', sans-serif;
padding-top: 60px;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
max-width: 2000px;
margin: auto;
padding: 20px;
}
.container section p {
font: 300 20px/140% 'Roboto Mono', sans-serif;
text-align: justify;
margin: 10px;
}
.container figure {
max-width: 720px;
margin: 20px auto;
display: flex;
flex-direction: column;
align-items: center;
}
.container figure img {
max-width: 100%;
height: auto;
margin-bottom: 10px;
}
.container figure figcaption {
text-align: center;
margin-top: 10px;
}
.container h2 {
font: 450 32px 'Montserrat', sans-serif;
text-align: center;
margin-bottom: 20px;
}
html {
scroll-behavior: smooth;
}
.project-section {
scroll-margin-top: 80px;
font: 200 20px 'Montserrat', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
margin-bottom: 20px;
}
nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #202020;
z-index: 1000;
}
nav ul {
list-style-type: none;
display: flex;
justify-content: center;
padding: 10px 0;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
padding: 10px 20px;
transition: background-color 0.3s, color 0.3s;
}
nav ul li a:hover {
background-color: #4b8cb7;
color: #04135f;
}