forked from beatrizmilz/sponsoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_custom.css
executable file
·142 lines (127 loc) · 2.3 KB
/
my_custom.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
/*
.main-block {
break-inside: avoid;
}
*/
.break-after-me {
break-after: page;
}
.break-before-me {
break-before: page;
}
@page {
size: 148mm 210mm;
margin: 0;
}
* {
box-sizing: border-box;
}/*
html {
width: 46.8in;
height: 33.09in;
}
body {
margin: 0;
font-size: 32px;
width: 100%;
height: 99.9%;
grid-gap: 1.2in;
padding: 1.2in;
font-family: Optima, Calibri, sans-serif;
}
body {
display: grid;
grid-template-areas:
'S1 S1 S1 S1'
'S2 S4 S5 S9'
'S2 S4 S5 S9'
'S2 S4 S5 S9'
'S2 S6 S6 S10'
'S3 S7 S8 S11'
'S3 S7 S8 S11'
'S3 S7 S8 S11'
'S3 S7 S8 S12'
'S3 S7 S8 S12';
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(10, 1fr);
}
.section-1 { grid-area: S1; }
.section-2 { grid-area: S2; }
.section-3 { grid-area: S3; }
.section-4 { grid-area: S4; }
.section-5 { grid-area: S5; }
.section-6 { grid-area: S6; }
.section-7 { grid-area: S7; }
.section-8 { grid-area: S8; }
.section-9 { grid-area: S9; }
.section-10 { grid-area: S10; }
.section-11 { grid-area: S11; }
.section-12 { grid-area: S12; }
*/
h1, .poster-title, .figure {
text-align: center;
}
.poster-title h1 {
font-family: "Gill Sans", Verdana, sans-serif;
font-size: 3em;
color: darkblue;
}
.poster-title {
border-bottom: .08in solid darkblue;
}
h1 {
color: limegreen;
margin: 0;
padding: .5em;
font-size: 1.5em;
}
.block {
border: .1in solid steelblue;
background-color: aliceblue;
}
.block h1 {
background-color: steelblue;
color: white;
}
.block > .content {
padding: 1em;
line-height: 1.5em;
}
table {
margin: auto;
border-top: 3px solid #666;
border-bottom: 3px solid #666;
}
table thead th { border-bottom: 3px solid #ddd; }
td { padding: 8px; }
th { padding: 15px; }
caption { margin-bottom: 10px; }
a { text-decoration: none; }
h1 hr {
border: 6px solid gray;
clip-path: ellipse(50% 3px at center);
margin: 0;
}
.figure-example {
text-align: center;
}
.figure-example p:first-child {
background-color: floralwhite;
border: 5px dotted gray;
width: 90%;
height: 12em;
padding: 1em 0;
margin: 0 auto;
}
.logo-example {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.logo-example > p {
width: 30%;
border: 5px dotted sandybrown;
background-color: whitesmoke;
height: 5em;
text-align: center;
}