-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
81 lines (77 loc) · 1.93 KB
/
styles.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
body {
padding: 1em;
max-width: 40em;
margin-left: auto;
margin-right: auto;
font-size: 1.1em;
}
/* link styling */
a:link {
color:#0271fb;
text-decoration: none;
}
a:visited { color:#bd02fb; }
a:hover, a:focus { color:#000; }
a:active { color:#fb0e02; }
p {
}
figure {
display: block;
max-width: 38em;
margin-left: auto;
margin-right: auto;
}
figure img {
width: 100%;
}
figcaption {
display: block;
font-size: 80%;
margin: 0.4em;
text-align: center;
}
h1, h2, h3, h4, h5, h6 {
text-indent: -1em;
margin-left: 1em;
}
article h1, article h2, article h3, article h4, article h5, article h6,
nav h1, nav h2, nav h3, nav h4, nav h5, nav h6 {
margin-left: 0;
}
article, nav {
margin-left: 1em;
}
footer {
text-align: center;
}
/* ---------------------------------------------------------
Print styles
---------------------------------------------------------*/
@media print {
* {
color:#000 !important;
box-shadow:none !important;
text-shadow:none !important;
background:transparent !important;
}
html { background-color:#fff; }
/* Hide navigation */
nav { display:none; }
/* Show link destinations in brackets after the link text */
a[href]:after { content: " (" attr(href) ") "; }
a[href] {
font-weight:bold;
text-decoration:underline;
color:#06c;
border:none;
}
/* Don't show link destinations for JavaScript or internal links */
a[href^="javascript:"]:after, a[href^="#"]:after { content:""; }
/* Show abbr title value in brackets after the text */
abbr[title]:after { content: " (" attr(title) ")"; }
figure {
margin-bottom:1em;
overflow:hidden;
}
figure img { border:1px solid #000; }
}