-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathstyle.css
231 lines (209 loc) · 4.44 KB
/
style.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.infobox {
padding: 1em 1em 1em 7em;
margin-bottom: 10px;
/*background: lightgray 5px center/3em no-repeat;*/
background: #FFD100 5px center/3em no-repeat;
border: 4px solid #A6192E;
border-radius: 5px;
}
.caution {
background-image: url("images/icon-caution.png");
background-size: 10%;
background-repeat: no-repeat;
}
.important {
background-image: url("images/icon-important.png");
background-size: 10%;
background-repeat: no-repeat;
}
.note {
background-image: url("images/icon-note.png");
background-size: 10%;
background-repeat: no-repeat;
}
.tip {
background-image: url("images/icon-tip.png");
background-size: 10%;
background-repeat: no-repeat;
}
.warning {
background-image: url("images/icon-warning.png");
background-size: 10%;
background-repeat: no-repeat;
}
.software {
background-image: url("images/icon-think-software.png");
background-size: 10%;
background-repeat: no-repeat;
}
.brainware {
background-image: url("images/icon-think-brainware.png");
background-size: 10%;
background-repeat: no-repeat;
}
/* Added by Antonio, based on Alex Quinto's code*/
/* THIS CODE USED FOR THE BOOK COVERS */
.cover1, .cover2, .cover4, .cover4b {
width: 400px;
height: 500px;
background-color:darkgray;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
margin: auto;
}
.cover1 {
background-image: url("images/cover-2021/voronoi_ponyo.gif");
}
.cover2 {
background-image: url("images/cover-2021/voronoi_ponyo.gif");
}
.cover1 img, .cover2 img {
width: 400px;
}
.cover3 {
width: 400px;
height: 300px;
background-image: url("images/cover-2021/voronoi_ponyo.gif");
background-position: center;
background-size: 150%;
overflow: hidden;
margin: auto;
}
.header3b {
width: 400px;
height: 210px;
margin: auto;
background:darksalmon;
}
.header3b img { width: 400px;}
.cover4, .cover4b {
position: relative;
overflow: visible;
}
.cover4 img, .cover4b img {
position: absolute;
width: 400px;
height: 500px;
opacity: 0.4;
left: 0%;
top: 0%;
z-index: 0;
}
.cover4 .subtitle, .cover4b .subtitle {
font-size: .5em;
color: white;
-webkit-text-stroke: 0px;
}
.cover5, .cover5b {
background: url("https://images.unsplash.com/photo-1465447142348-e9952c393450?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80");
}
.cover5, .cover5b, .cover5c {
width: 400px;
height: 566px;
background-position: 0px 50px;
background-repeat: no-repeat;
margin: auto;
animation: animatedBackground 50s linear 0s infinite alternate;
}
.cover5c {
background: url("images/cover-2021/voronoi_ponyo.gif");
background-size: 180%;
}
@keyframes animatedBackground {
from {
background-position: 0 0;
}
to {
background-position: 100% 0;
}
}
.cover5 img, .cover5b img, .cover5c img {
width: 400px;
}
.fade-in-text {
width: 400px;
display: inline-block;
font-size: 33px;
font-weight: bold;
color: black;
padding: 25px;
text-align: center;
text-transform: uppercase;
animation: fadeIn linear 5s;
-webkit-animation: fadeIn linear 5s;
-moz-animation: fadeIn linear 5s;
-o-animation: fadeIn linear 5s;
-ms-animation: fadeIn linear 5s;
}
.cover4 .fade-in-text, .cover4b .fade-in-text {
position: absolute;
z-index: 99;
left: 0;
}
.cover4b .fade-in-text {
-webkit-text-stroke: 1px white;
}
.header3 {
margin: auto;
width: 400px;
}
.header3 .fade-in-text {
font-size: 18px;
background:darksalmon;
}
.bottom, .bottom3 {
background:white;
width: 400px;
margin: auto;
}
.bottom3 p {
text-align: center;
margin: 0;
padding: 1em;
}
@keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}
@-moz-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}
@-webkit-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}
@-o-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}
@-ms-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}
/*End of book covers */
/*End of addition by Antonio, based on Alex Quinto's code*/
.level1 h1 {
border-bottom: 1px solid;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
}
h1.title {
font-weight: 700;
}