-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIndex345html.css
More file actions
70 lines (68 loc) · 1.06 KB
/
Index345html.css
File metadata and controls
70 lines (68 loc) · 1.06 KB
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
<html lang="en-US">
<head>
body {
color: #635959;
}
header {
background-color: #242323;
color: #EFEFEF;
}
article {
margin: 5px 0px;
padding: 5px 5px;
box-shadow: -1px -1px 6px #888888;
}
h3, article h4 {
color: #8C1018;
}
article a {
color: #314052;
}
<title>Contoso News</title>
<head>
header h1 {
font-size: 4em;
}
main figure > figcaption {
font-size: 0.75em;
font-style: italic;
}
main figure > figcaption::before {
content: 'Pictured above: ';
font-weight: bold;
}
article > time {
float: right;
font-size: 0.75em;
font-weight: lighter;
}
main > h3 {
font-size: 2em;
}
header {
padding: 20px 50px;
}
main {
padding: 5px 10px;
}
@font-face {
font-family: 'News Cycle';
src: url('../fonts/news_cycle.ttf') format('truetype');
}@font-face {
font-family: 'Contrail One';
src: url('../fonts/contrail_one.ttf') format('truetype');
}
body {
font-family: 'News Cycle';
}
<title>Contoso News</title>
<link />
</head>
<link />
</head>
header {
font-family: 'Contrail One';
}
<title>Contoso News</title>
...
</html>