-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.css
147 lines (119 loc) · 2.22 KB
/
layout.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
@page {
margin: 1cm;
}
body {
background: linear-gradient(to bottom right, #000000, #666666);
color: #cccccc;
}
a:link, a:visited {
color: purple;
text-decoration: none;
}
a:hover {
font-style: italic;
text-decoration: none;
}
nav {
padding: 1em;
}
#deck_form, #errors {
padding-bottom: 1em;
}
#errors {
text-align: left;
}
nav img, nav h1, #deck, #index, .index, img .color, .cost, .name {
display: inline-block;
}
#source {
margin-left: 1em;
}
a, h1, h2, h3, h4, h5, h6 {
text-shadow: 1px 1px white;
font-weight: bold;
}
h2, h3, h4, h5, h6 {
color: #666666;
}
article {
padding: 0 1em 0 1em;
}
#deck, #index {
vertical-align: top;
}
#deck {
margin-right: 1em;
text-align: right;
}
#generate_controls {
text-align: right;
}
.error {
color: red;
}
.warning {
color: yellow;
}
.index, .index_placeholder {
color: black;
font-size: 9px;
height: 3.5in;
margin: 0 0.5em 0.5em 0.5em;
padding: 0.5em;
vertical-align: top;
width: 2.5in;
}
.index {
background: white;
border: 1px solid black;
}
.index_placeholder {
background-image: url("symbols/illuminary.png");
background-position: center;
background-repeat: no-repeat;
opacity: 25%;
}
.tcg_card {
padding-bottom: 0.15em;
}
.color, .cost {
margin-right: 0.25em;
}
.cost {
width: 16px;
height: 16px;
}
nav img, nav h1, .cost {
text-align: center;
vertical-align: middle;
}
.cost {
background-position: center;
}
.inkable, .uninkable {
-webkit-print-color-adjust: exact !important; /* Chrome, Safari 6 – 15.3, Edge */
color-adjust: exact !important; /* Firefox 48 – 96 */
print-color-adjust: exact !important; /* Firefox 97+, Safari 15.4+ */
}
.inkable {
background-image: url("symbols/inkable.png");
}
.uninkable {
background-image: url("symbols/uninkable.png");
}
.name {
/*
* Most of:
*
* * Crabominable
* * Asmoranomardicadaistinaculdacar
* * Institute of Technology - Prestigious University
*
*/
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
width: 19em;
}