gamecard v0.1
This commit is contained in:
@@ -1 +1,12 @@
|
||||
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css");
|
||||
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css");
|
||||
@import url('https://fonts.googleapis.com/css2?family=Graduate&display=swap');
|
||||
|
||||
.wordmark {
|
||||
font-family: "Graduate", sans-serif;
|
||||
}
|
||||
|
||||
.navbar .navbar-brand {
|
||||
font-family: "Graduate", sans-serif;
|
||||
font-weight: bolder;
|
||||
font-stretch: condensed;
|
||||
}
|
||||
@@ -15,6 +15,8 @@ body.A4 .sheet { width: 210mm; height: 296mm }
|
||||
body.A4.landscape .sheet { width: 297mm; height: 209mm }
|
||||
body.A5 .sheet { width: 148mm; height: 209mm }
|
||||
body.A5.landscape .sheet { width: 210mm; height: 147mm }
|
||||
body.b5 .sheet { width: 176mm; height: 250mm }
|
||||
body.b5.landscape .sheet { width: 250mm; height: 176mm }
|
||||
body.letter .sheet { width: 216mm; height: 279mm }
|
||||
body.letter.landscape .sheet { width: 280mm; height: 215mm }
|
||||
body.legal .sheet { width: 216mm; height: 356mm }
|
||||
@@ -26,13 +28,25 @@ body.legal.landscape .sheet { width: 357mm; height: 215mm }
|
||||
.sheet.padding-20mm { padding: 20mm }
|
||||
.sheet.padding-25mm { padding: 25mm }
|
||||
|
||||
/** For screen preview **/
|
||||
@media screen {
|
||||
body { background: #e0e0e0 }
|
||||
.sheet {
|
||||
background: white;
|
||||
box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);
|
||||
margin: 5mm auto;
|
||||
}
|
||||
}
|
||||
|
||||
/** Fix for Chrome issue #273306 **/
|
||||
@media print {
|
||||
body.A3.landscape { width: 420mm }
|
||||
body.A3, body.A4.landscape { width: 297mm }
|
||||
body.A4, body.A5.landscape { width: 210mm }
|
||||
body.A5 { width: 148mm }
|
||||
body.b5 { width: 190mm }
|
||||
body.b5.landscape { width: 250mm }
|
||||
body.letter, body.legal { width: 216mm }
|
||||
body.letter.landscape { width: 280mm }
|
||||
body.legal.landscape { width: 357mm }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user