-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
114 lines (92 loc) · 1.56 KB
/
styles.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
109
110
111
112
113
114
body{
margin: 0;
font-family: 'Lato', sans-serif;
}
.title{
display: flex;
justify-content: center;
font-size: 1.1em;
}
.nav{
display: flex;
justify-content: center;
padding-bottom: 2%;
}
.info{
display: flex;
justify-content: center;
color: grey;
}
.nav a{
color: grey;
border-bottom: 2px solid transparent;
transition: border-bottom 0.5s;
text-decoration: none;
margin-right: 10px;
margin-left: 10px;
font-size: 1.1em;
}
.nav a:hover{
border-bottom: 2px solid black;
}
.about h2{
border-left: 5px solid black;
padding-left: 1%;
}
.about h3{
border-left: 5px solid black;
padding-left: 1%;
}
.link a{
text-decoration: none;
color: grey;
border-bottom: 2px solid transparent;
transition: border-bottom 0.5s;
}
.link a:hover{
border-bottom: 2px solid black;
}
p{
display: block;
padding-bottom: 1%;
}
/* Computer/Wide View: */
@media only screen and (min-width: 501px) {
.content {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
.about{
padding-left: 20%;
padding-right: 20%;
}
.picture img {
width: 95%;
}
.picture {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
/* Mobile View: */
@media only screen and (max-width: 500px) {
.content {
display: grid;
grid-template-columns: 1fr;
}
.about{
padding-left: 10%;
padding-right: 10%;
}
.picture img {
width: 100%;
}
}
.content img {
vertical-align: middle;
filter: brightness(100%) opacity(50%);
transition: filter 0.5s;
}
.content img:hover{
filter: brightness(100%);
}