-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
103 lines (89 loc) · 1.63 KB
/
main.css
File metadata and controls
103 lines (89 loc) · 1.63 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
99
100
101
102
103
body {
font-family: 'Oswald', sans-serif;
margin: 0;
}
footer {
background-color: #000;
color: #fff;
padding: 30px 0px;
text-align: center;
}
img {
width: 100%;
}
.centertext {
display: flex;
justify-content: center;
align-items: center;
}
.centertext p {
background-color: rgba(0, 0, 0, 0.3);
}
.rainbow {
background-image: url(images/rainbow.png);
height: 100%;
width: 100%;
background-size: cover;
}
.projects{
height: 300px;
width: 300px;
display: inline-block;
}
.portfolio{
background-image: url(images/portfolio.png);
width: 100%;
height: 100%;
background-size: cover;
}
.gallery {
display: flex;
justify-content: space-around;
margin: 50px 0px;
}
.gallery div {
width: 300px;
text-align: center;
}
.about p {
font-size: 20px;
}
.about h2 {
font-size: 30px;
letter-spacing: 1px;
text-transform: uppercase;
}
.about {
margin: 100px 0px;
text-align: center;
}
header p {
color: white;
font-size: 40px;
margin: 0;
}
h1 {
color: #fff;
font-size: 50px;
letter-spacing: 1px;
margin: 0;
text-transform: uppercase;
}
header {
background-attachment: fixed;
background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, 0)), url(images/progenter.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100vh;
}
@media screen and (max-width: 960px) {
.gallery {
flex-direction: column;
align-items: center;
}
}