-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodifiers.css
More file actions
executable file
·105 lines (84 loc) · 3.36 KB
/
modifiers.css
File metadata and controls
executable file
·105 lines (84 loc) · 3.36 KB
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
/* copal/modifiers.css -- Generic modifiers for copal-css.net, 2013-08-27 */
.nobr { white-space: nowrap !important; }
.l, .left { text-align: left !important; }
.c, .center { text-align: center !important; }
.r, .right { text-align: right !important; }
.t, .top { vertical-align: top !important; }
.m, .middle { vertical-align: middle !important; }
.b, .bottom { vertical-align: bottom !important; }
.fl, .floatLeft {
float: left !important;
/* IE67: */ *display: inline;
/* IE67: */ *position: relative;
}
.fr, .floatRight {
float: right !important;
/* IE67: */ *display: inline;
/* IE67: */ *position: relative;
}
.cf, .clearFloat { clear: both !important; }
.cl, .clearLeft { clear: left !important; }
.cr, .clearRight { clear: right !important; }
.scale, .hScale { width: 100% !important; height: auto !important; }
.vScale { width: auto !important; height: 100% !important; }
.stretch, .hStretch { width: 100% !important; }
.vStretch { height: 100% !important; }
.noScale { width: auto !important; height: auto !important; }
.seamless, .seamless * {
margin: 0 !important;
padding: 0 !important;
/* vertical-align: bottom !important; */
}
.invisible { visibility: hidden !important; }
@media screen { .print, .hideOnScreen { display: none !important; } }
@media print { .screen, .hideInPrint { display: none !important; } }
.avoidPageBreakInside { page-break-inside: avoid !important; }
.avoidPageBreakBefore { page-break-before: avoid !important; }
.avoidPageBreakAfter { page-break-after: avoid !important; }
.pageBreakBefore { page-break-before: always !important; }
.pageBreakAfter { page-break-after: always !important; }
/* Generic modifiers that may need customization ... */
.narrow { word-spacing: -0.2em !important; } /* Change in custom css! */
.breakable { word-spacing: -0.33em !important; } /* Change in custom css! */
.shade { background-color: #E8E8E8; } /* Change in custom css! */
.border { border: 1px solid black; } /* Change in custom css! */
/* Some common classes and CargoCult from other sources ... */
/* h5bp.com/q and https://gist.github.com/935783/ - using legacy version */
/* Normally not needed with CoPaL layout elements - they already use it! */
.clearfix { /* IE 67 */
*zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif");
*zoom: 1; /* non-JS fallback */
}
.clearfix:before,
.clearfix:after {
content: ".";
display: block;
height: 0;
overflow: hidden;
visibility: hidden;
}
.clearfix:after { clear: both; }
/* Hide from both screenreaders and browsers, see h5bp.com/u */
.hidden, .hide { display: none !important; visibility: hidden !important; }
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
/* CargoCult for now, has to be adapted for CoPaL! */
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
/* CargoCult for now, has to be adapted for CoPaL! */
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}