-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (68 loc) · 1.31 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
body {
line-height: 1.6;
font-weight: lighter;
font-family: 'Lora' serif;
font-size: 18px;
}
div {
display: block
}
h2 {
color: #A0A0A0;
font-family: 'Montserrat', sans-serif;
font-weight: normal;
letter-spacing: 2px
}
p {
display: block;
}
a {
text-decoration: none;
}
a:hover {
background-image: linear-gradient(to bottom, #7DFFB4, #7DFFB4);
}
/* Class for the Gradient effect on link to Medium */
.link-medium {
background-image: linear-gradient(to bottom, rgba(233, 253, 240, 1), rgba(233, 253, 240, 1));
color: #636363;
font-weight: lighter;
font-size: 25px;
font-style: italic;
}
.banner {
background-image: url(https://source.unsplash.com/random/1000X500);
background-size: cover;
padding: 120px 0;
color: white;
text-align: center;
}
.banner p {
font-size: 30px;
font-style: italic;
font-weight: lighter;
opacity: 0.8;
}
.container {
width: 700px;
margin: 50px auto;
}
/* Media Queries for Responsive Design */
@media (max-width: 960px) {
/* For a screen < 960px, this CSS will be read */
.container {
width: 700px;
}
}
@media (max-width: 720px) {
/* For a screen < 720px, this CSS will be read */
.container {
width: 500px;
}
}
@media (max-width: 540px) {
/* For a screen < 540px, this CSS will be read */
.container {
width: 300px;
}
}