Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
113 lines (94 loc) · 1.42 KB
/
Copy pathindex.css
File metadata and controls
113 lines (94 loc) · 1.42 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
104
105
106
107
108
109
110
111
112
113
html,
body {
font-family: monospace;
background: #fafafa;
padding: 0;
margin: 0;
}
a:focus {
outline: 2px dashed #00bfff;
}
.main {
display: flex;
flex-direction: column;
align-content: center;
margin: 4%;
min-height: 100vh;
}
.about__image {
max-width: 10rem;
display: block;
margin: 0 auto;
border-radius: 50%;
}
.about__name {
text-align: center;
}
.about__links {
display: flex;
flex-direction: row;
justify-content: center;
}
.about__link {
color: black;
padding: 0 1em;
font-size: 1.6rem;
}
.project__title {
background: #000;
}
.project__link {
color: #fff;
font-size: 1.4rem;
}
.about__description,
.project__title,
.project__content {
margin: 1rem;
padding: 1rem;
}
@media screen and (min-width: 768px) {
.main {
margin: 0 8%;
flex-direction: row;
}
.about,
.projects {
display: flex;
padding: 1rem;
align-self: center;
}
.about {
flex: 0 1 auto;
}
.about__image {
max-width: 15rem;
}
.projects {
flex: 2 1 auto;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.project {
flex: 0 1 50%;
}
.project__title {
display: flex;
align-items: center;
height: 3rem;
}
.project__link {
font-size: 1.4rem;
}
}
@media screen and (min-width: 1280px) {
.main {
margin: 0 12%;
}
}
@media screen and (min-width: 1920px) {
.main {
margin: 0 18%;
}
}