-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (73 loc) · 1.3 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
body {
font-family: sans-serif;
background-color: #000000;
}
footer {
color: white;
}
main {
margin: 6em auto;
max-width: 75rem;
color: #778899;
background-image: url("media/bg-img-1.jpg");
background-repeat: no-repeat;
background-size: contain;
background-position: top center;
}
h1, h2{
font-size: 2rem;
text-align: center;
}
li {
display: inline-block;
list-style-type: none;
margin: 0.5em 1em;
}
ul li img {
max-height: 16rem;
display: block;
}
.main-projects a {
overflow: hidden;
display: flex;
text-decoration: none;
max-width: 21rem;
justify-content: center;
border-radius: 12px;
border: rgba(0,0,0,0) 1px solid;
}
.other-projects a {
text-decoration: none;
padding: 10px 20px;
color: rgb(230, 230, 230);
}
.other-projects {
text-align: center;
}
p {
color: white;
font-size: 1rem;
background-color: rgba(0,0,0,0.5);
margin: 0;
padding: 10px 0;
}
img:hover {
opacity: 0.7;
}
.main-projects a:hover {
border: rgba(256,256,256,0.5) 1px solid;
}
.other-projects a:hover {
background-color: rgb(21,25,47);
}
@media only screen and (max-width: 800px) {
body {
max-width: 50rem;
}
li {
background-color: #696969;
}
a {
color: #f0f4fb;
}
}