-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
149 lines (119 loc) · 2.59 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+SC|Sedgwick+Ave");
body {
background: url("https://i.lensdump.com/i/ABr2Mc.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
h1, h2, p, ul, ol, li {
color: white;
}
p, ul, ol, li {
font-family: "Noto Sans SC", sans-serif;
font-size: 1em;
}
h1, h2 {
font-family: "Sedgwick Ave", serif;
}
h1 {
font-size: 2.7em;
}
h2 {
font-size: 1.5em;
}
html, body, .container {
height: 100%;
width: 100%;
margin: 0;
}
.container {
margin: auto;
max-width: 66%;
height: 100%;
width: 100%;
text-align: center;
display: table;
}
.container .inner {
height: 100%;
background: rgba(0, 0, 0, 0.2);
display: table-row;
text-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}
.container .inner .content {
margin: 0 48px;
padding: 0 32px 32px 24px;
}
/* Changes the default look of an icon */
p a:link {
color: white;
font-weight: bold;
}
/* Changes another default property */
p a:visited {
color: white;
}
/*.. and one more time */
p a:hover {
color: white;
background-color: rgb(251, 226, 115);
}
/* Spaces the icons out and changes the colour of the icons */
/* Gives us a transition effect on all the icons */
i.fa {
padding: 0 15px;
color: #fff;
transition: all 0.3s ease 0s;
-webkit-transition: all 0.4s ease 0s;
}
/*When you hover over the icon it'll change to its company's colour. */
i.fa-twitter:hover {
color: rgb(75, 160, 235);
}
/*Same for instagram */
i.fa-instagram:hover {
color: rgb(200, 75, 101);
}
/*Same for youtube */
i.fa-youtube:hover {
color: rgb(234, 50, 35);
}
/*Same for linked in */
i.fa-soundcloud:hover {
color: rgb(236, 97, 43);
}
/* Altering the default image with CSS. Once again the additional border-radius just allows us to standardize sizes on different screen sizes. */
.box-img {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
width: 15em;
height: 15em;
-webkit-box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2);
}
/* On screens less than or equal to 900px do the set the following attributes. */
@media only screen and (max-width: 900px) {
h1 {
font-size: 2em;
}
h2 {
font-size: 1.2em;
}
p {
font-size: 1em;
}
.container {
max-width: 90%
}
.container .inner .content {
padding: 0;
min-width: 320px;
margin: 0 16px 10%;
}
i.fa {
font-size: 2.5em;
}
}