-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
101 lines (74 loc) · 1.59 KB
/
stylesheet.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
/* Resets */
html, body, ul, li, h1, h2, p {
margin: 0;
padding: 0;
}
/* Declares font family, text colour and adds a subtle pattern to the background */
body {
font-family: 'Quicksand', sans-serif;
color: #2c3e50;
background-image: url('img/texture.png');
-webkit-font-smoothing: antialiased;
}
/* Make container centered in page and center text inside <div> */
.container {
position: absolute;
top:50%;
left:50%;
width:400px;
margin: -220px 0 0 -200px;
text-align: center;
}
/* Makes image a circle and sizes it to 40% of the outside container */
.container img {
max-width: 40%;
border-radius: 50%;
}
/* Clears bullet points and places <li> items next to each other instead of stacked on top and changes font */
li {
display: inline;
list-style: none;
padding: 0 4px;
font-family: 'Pacifico', monospace;
}
/* Remove default hyperlink styling, add our own colours and change font-size*/
a, a:visited {
color:tomato;
font-size: 20px;
text-decoration: none;
}
/* This changes the link colour when someone hovers their mouse over it */
a:hover {
color: darkred;
}
/* Style our header tags */
h1, h2 {
font-weight: 700;
}
h1 {
font-size: 32px;
margin: 10px 0 0
}
h2 {
font-size: 22px;
color: #67809F;
}
/* Adds some space around our bio */
p {
padding: 20px 0;
}
/* Style our 'available' and 'unavailable' classes */
.available, .unavailable {
width: 60%;
margin:10px auto 20px;
border-radius: 3px;
padding: 14px 0;
}
.available {
color: #fff;
background-color: #2ecc71;
}
.unavailable {
color: #999;
background-color: #eee;
}