-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlisticle-style.css
122 lines (102 loc) · 2.08 KB
/
listicle-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
/**
TODO(you): Write the CSS necessary to complete HW1!
*/
body {
font-family: 'Source Sans Pro', sans-serif;
font-size: 18px;
line-height: 32px;
color: rgb(51, 51, 51);
}
hr {
line-height: 2px;
max-width: 21%; /* Is there some way to make it relative to the height of the profile block? */
border-color: #e6e6e6;
}
br {
line-height: 20px;
}
p {
margin: 0px;
}
/* For details */
div.info {
max-width: 66.67%;
padding-left: 40px;
border-width: 0px;
}
/* For numbers */
div.nums{
font-family: 'Roboto Slab', serif;
font-size: 36px;
font-weight: bold;
color: rgba(0, 0, 0, 0.25);
padding-top: 60px;
}
/* For sub titles*/
p.titles {
font-family: 'Roboto Slab', serif;
font-size: 36px;
font-weight: bold;
color: rgb(51, 51, 51);
padding-top: 60px;
}
p.text {
padding-top: 20px;
}
/* Links - to override colour */
a.address {
color: #42b4d6;
padding-top: 10px;
}
/* Unvisited address link */
a.address:link {
text-decoration: none;
}
/* hovering address */
a.address:hover {
text-decoration: underline;
}
/* For images */
img.image {
max-width: 100%;
padding-bottom: 60px;
padding-top: 20px;
}
#content {
display: flex;
justify-content: center;
}
#titleBlock {
display: flex;
align-items: center; /* Center of all margins */
height: 500px;
background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url(../images/header.jpg); /* Opacity, then background image */
background-size: cover; /* Spans width of screen */
background-position: top; /* Align with top of block */
font-family: 'Roboto Slab', serif;
font-size: 36px;
}
#titleText {
margin-left: auto; /* Deals with item placement in super block */
margin-right: auto; /* Deals with item placement in super block */
text-align: center;
max-width: 750px;
color: white;
}
#profile {
margin-left: auto;
margin-right: auto;
text-align: center;
font-family: 'Source Sans Pro', sans-serif;
font-size: 18px;
color: rgb(51, 51, 51);
line-height: 24px;
text-decoration-color: #e6e6e6;
}
#profilePic {
height: 100px;
margin-top: -50px;
border-radius: 100%;
border-color: white;
border-width: 1px;
}