-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (61 loc) · 1.04 KB
/
style.css
File metadata and controls
70 lines (61 loc) · 1.04 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
/* CSS Reset */
* {
margin: 0;
padding: 0;
line-height: 1.2;
box-sizing: border-box;
}
html,
body {
font-family: sans-serif;
color: #fafafa;
background-color: #333;
}
/* Main Styles */
.hero {
/* margin: 20px; */
padding: 10px 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background: #4677ff;
height: 300px;
}
.projects {
margin: 20px 10px;
}
.project {
display: inline-block;
margin: 10px;
padding: 7px;
width: fit-content;
border: 2px solid #777;
border-radius: 5px;
background-color: #222;
text-align: initial;
/* background: #fafafa; */
}
.project h3,
.project p {
margin-bottom: 5px;
}
.project #date {
color: #888;
font-size: 12px;
text-align: right;
margin: 0;
}
.project img {
border-radius: 5px;
margin-bottom: 5px;
}
.project:first-child {
margin-left: 0;
}
@media screen and (max-width: 480px) {
.projects {
text-align: center;
}
}