forked from TaylorWorthing/rpg-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
168 lines (165 loc) · 2.79 KB
/
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* general style */
body {
margin: 0;
padding-top: 65px;
padding-bottom: 65px;
background-color: #f8e9d5;
min-width: 360px;
height: auto;
}
nav, footer {
width: 100%;
min-width: 360px;
position: fixed;
}
nav {
top: 0;
z-index: 999;
}
footer {
bottom: 0;
}
nav ul, footer ul{
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #3d4048;
}
nav li a, footer li a {
border: none;
display: block;
padding: 14px 16px;
font-family: sans-serif;
color: #aa7570;
text-decoration: none;
cursor: pointer;
}
nav li a {
float:right;
}
footer li a {
float:left;
}
nav li a:hover, footer li a:hover {
color: #3d4048;
background-color: #aa7570;
}
nav a.title {
float: left;
font-weight: bold;
color: #3d4048;
background-color: #aa7570;
}
nav a.title img {
height: 32px;
margin: -9px;
margin-right: 4px
}
#sheet-file { /* always hidden */
display: none;
}
.export-control { /* made visible by sheet option */
display: none;
}
/* sheet element style */
#sheet section {
background-color: white;
position: relative;
width: 960px;
min-width: 960px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
margin-bottom: 20px;
box-shadow: 5px 5px 20px #888;
}
#sheet img.page {
top: 0;
left: 0;
max-width: 100%;
min-width: 100%;
display: block;
}
#sheet input, #sheet textarea {
border: 0;
outline: 0;
position: absolute;
background: transparent;
resize: none;
}
#sheet figure {
margin: 0;
padding: 0;
position: absolute;
display: block;
cursor: pointer;
}
#sheet figure img {
margin: auto;
padding: 0;
max-width: 100%;
max-height: 100%;
display: block;
}
#sheet input[type=checkbox] {
width: 10px;
height: 10px;
margin: 0;
padding: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: transparent;
outline: 0;
border: 0;
display: inline-block;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
cursor: pointer;
}
#sheet input[type=checkbox]:focus {
outline: 0;
border: 1px dotted black;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
#sheet input[type=checkbox]:checked {
background-color: black;
text-align: center;
border-radius: 100%;
}
/* only show character sheet pages when printing */
@media print {
* {
margin: 0 !important;
padding: 0 !important;
}
html,
body,
main,
footer,
form,
section,
img.page {
height: 100%;
}
body {
background-color: white;
page-break-after: avoid;
}
header, nav, footer {
display: none !important;
}
section {
margin: 0;
padding: 0;
display: block;
box-shadow: none !important;
}
img.page {
display: inline;
}
}