-
Notifications
You must be signed in to change notification settings - Fork 6
/
pagestyle.css
48 lines (47 loc) · 931 Bytes
/
pagestyle.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
/* generic page formatting; the css specific to line drawing will be in each section */
* {
box-sizing: border-box;
}
html, body {
padding: 0;
margin: 0;
}
html {
background-color: hsl(60,10%,95%);
color: hsl(60,0%,0%);
font-family: sans-serif;
font-size: 14px;
font-size: calc(0.5rem + 1vw);
}
@media (min-width: 41rem) {
html {
font-size: 1.25rem;
}
}
body > div, body > p, h1, h2 {
max-width: 35rem;
margin-right: auto;
margin-left: auto;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
header, footer {
background-color: hsl(60,20%,80%);
padding: 0.5em;
}
footer {
min-height: 3em;
text-align: center;
}
svg {
overflow: visible;
}
/* the draggable elements all have data-name= ; I want them to stand out */
span[data-name] {
cursor: col-resize;
font-weight: bold;
border-bottom: 2px dotted #a44;
}
.draggable {
cursor: move;
}