-
Notifications
You must be signed in to change notification settings - Fork 0
/
framework.css
140 lines (124 loc) · 2.77 KB
/
framework.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
:root {
--page-width: 210mm;
--page-height: 297mm;
}
@media screen{
body{transform:scale(0.25);transform-origin:top left;width:calc(var(--page-width) * 4.5);}
.page{margin:1cm;box-shadow:0 0 1cm rgba(0,0,0,0.4); float:left;}
}
*{
margin:0;
padding:0;
box-sizing: border-box;
}
@page {
size: A4;
margin:0 !important;
background:black;
position:relative;
overflow:hidden;
}
@page :left {
margin-left: 3cm;
}
@page :right {
margin-left: 4cm;
}
.page{
width:var(--page-width);
height:var(--page-height);
position:relative;
overflow:hidden;
}
.col{
float:left;
height:100%;
overflow:hidden;
position:relative;
}
.col-3 .col{
width:calc(var(--page-width) / 3);
}
.col-2 .col{
width:calc(var(--page-width) / 2);
}
.col-2-80 .col{
width:calc(var(--page-width) * 0.8);
}
.col-before-15{
margin-left:calc(var(--page-width) * 0.15);
}
.rows{
display:flex;
flex-direction: column;
}
.row{
width:var(--page-width);
flex:1;
position:relative;
}
.pad{
padding:1.5cm;
}
.pad-narrow{
margin:1.5cm 0.7cm;
}
.color1{ color: var(--color1); }
.color2{ color: var(--color2); }
.color3{ color: var(--color3); }
.color4{ color: var(--color4); }
.color5{ color: var(--color5); }
.color6{ color: var(--color6); }
.fill1{ background-color: var(--color1); }
.fill2{ background-color: var(--color2); }
.fill3{ background-color: var(--color3); }
.fill4{ background-color: var(--color4); }
.fill5{ background-color: var(--color5); }
.fill6{ background-color: var(--color6); }
.font-alt{ font-family: var(--font-alt); }
.fill-dark-10{ background-color: rgba(0,0,0,0.1); }
.fill-dark-20{ background-color: rgba(0,0,0,0.2); }
.fill-dark-30{ background-color: rgba(0,0,0,0.3); }
.fill-dark-40{ background-color: rgba(0,0,0,0.4); }
.fill-dark-50{ background-color: rgba(0,0,0,0.5); }
.fill-dark-60{ background-color: rgba(0,0,0,0.6); }
.fill-dark-70{ background-color: rgba(0,0,0,0.7); }
.fill-dark-80{ background-color: rgba(0,0,0,0.8); }
.fill-dark-90{ background-color: rgba(0,0,0,0.9); }
.mb-1{margin-bottom:0.1cm;}
.mb-2{margin-bottom:0.2cm;}
.mb-3{margin-bottom:0.3cm;}
.mb-5{margin-bottom:0.5cm;}
.mb-10{margin-bottom:1cm;}
.pt-100{padding-top:1cm;}
.pt-200{padding-top:2cm;}
.pt-300{padding-top:3cm;}
.pt-400{padding-top:4cm;}
.pt-500{padding-top:5cm;}
.pt-600{padding-top:6cm;}
/* filters */
.filter-darken-1 { filter: brightness(65%) grayscale(19%); }
.filter-darken-2 { filter: brightness(35%) grayscale(19%); }
.filter-darken-blur { filter: brightness(35%) grayscale(19%) blur(7px); }
.col,
.content{
z-index:1;
position:relative;
}
.background-image{
z-index:0;
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
background-size:cover;
background-position: center;
background-repeat: no-repeat;
}
li{
margin-left:0.8cm;
}
.sprite{
position:absolute;
}