-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
99 lines (78 loc) · 1.63 KB
/
style1.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
/* Ron's example stylesheet */
:root {
/*
--back: black;
--front: white;
--link: cyan;
--link-visisted: fuchsia;
*/
/* Just swap the comments between the block above and below to toggle page design*/
--back: white;
--front: black;
--link: blue;
--link-visisted: purple;
--img-width: 800px;
/* We can do some basic math within CSS*/
/*--caption-width: 600px*/
--caption-width: calc(var(--img-width) - 400px);
--div-space: 100px;
/*--header-font: Arial, Helvetica, sans-serif*/
--header-font: 'Times New Roman', Times, serif
}
html {
margin: 20px;
padding: 0px;
height: 100%;
width: 100%
}
div {
margin-top: 30px;
}
body {
background-color: var(--back);
color: var(--front);
/*font-family: 'Times New Roman', Times, serif;*/
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
padding-bottom: 20px;
height: 100%;
width: 100%
}
h1 {
font-family: var(--header-font)
}
h2 {
font-family: var(--header-font)
}
/* Probably not great for this page, but just to demonstrate... */
/*
p {
column-count: 2;
}
*/
a:link {
font-weight: bold;
color: var(--link);
}
a:visited {
font-weight: bold;
color:var(--link-visisted);
}
iframe {
display: block;
border: 0;
margin-left: auto;
margin-right: auto;
}
.img-centered {
width: var(--img-width);
display: block;
margin-left: auto;
margin-right: auto;
}
.p-caption {
width: var(--caption-width);
margin-left: auto;
margin-right: auto;
font-size: small;
text-align: 'center'
}