-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
225 lines (222 loc) · 4.92 KB
/
styles.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
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*My CSS below */
body {
background-image: url('images/WoodTableTop2.jpg');
background-attachment: fixed;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
padding: 3%;
/*TODO create more background images (pen, plant, coffee, placemat, etc) use grid? */
}
.iPad {
background-color: white;
border: 20px solid black;
width: 600px;
height: 750px;
margin: auto;
padding: 20px;
align-items: center;
overflow: scroll;
scrollbar-width: none;
border-radius: 25px;
box-shadow: 0 0 10px 5px rgba(0,0,0,0.6);
-moz-box-shadow: 0 0 10px 5px rgba(0,0,0,0.6);
-webkit-box-shadow: 0 0 10px 5px rgba(0,0,0,0.6);
-o-box-shadow: 0 0 10px 5px rgba(0,0,0,0.6);
/* TODO Create bottom border and button? */
}
.iPad::-webkit-scrollbar {
display: none;
}
.iPad-screen {
padding: 10px;
overflow: hidden;
position: relative;
border-radius: 25px;
/* TODO Create tablet status bar at top with image border?*/
}
footer {
margin: 5px;
text-align: center;
border-top: 1px solid black;
}
header {
border-bottom: 1px solid black;
}
h1 {
font: 22px Courier, monospace;
text-align: center;
padding-bottom: 10px;
}
h2 {
font: 20px Times, serif;
text-align: center;
padding: 10px;
}
p {
font: 14px Ariel, sans-serif;
text-align: justify;
-moz-text-align-last: auto;
-ms-text-align-last: auto;
text-align-last: auto;
padding: 10px 5px;
line-height: 1.5;
}
.images {
position: relative;
}
.images img {
padding: 15px 5px 5px 5px;
position: absolute;
}
figure {
display: block;
text-align: center;
margin-top: 75px;
padding: 5px;
background-color: #eeeeee;
border: 2px solid #f5f5f5;
background-clip: padding-box;
font-family: 'Courier New', Courier, monospace;
height: 335px;
}
video {
display: block;
margin-left: auto;
margin-right: auto;
}
#CollegeVideo {
margin-top: -75px;
margin-bottom: -75px;
}
.grid {
display: grid;
grid-template-columns: auto auto;
margin-left: 5px;
margin-right: 25px;
/* TODO fix polaroid column, use flex?*/
}
#griditem1 {
grid-column: 1/2;
}
#griditem2 {
grid-column: 2/3;
margin-left: -30px;
}
.picbackground {
background-image: url('images/Cork1.jpg');
border-radius: 25px;
/* TODO create cork frame from image border?*/
}
.pics {
margin: 15px 75px 50px;
position:relative;
height:500px;
width:150px;
}
.pics a {
background-color:#eeeeee;
display:inline;
padding:10px 10px 30px 10px;
text-align:center;
text-decoration:none;
color:#333;
font-size:16px;
font-family: Courier, monospace;
font-weight: bold;
-webkit-box-shadow:0px 0px 10px rgba(0,0,0,1);
-moz-box-shadow:0px 0px 10px rgba(0,0,0,1);
box-shadow:0px 0px 10px rgba(0,0,0,1);
-webkit-transition:all .30s;
-moz-transition:all .30s;
-o-transition:all .30s;
transition:all .30s;
position:absolute;
}
.pics a:after {
content:attr(title);
}
.pics li:nth-child(1n) a {-webkit-transform:rotate(30deg) scale(0.7,0.7);-moz-transform:rotate(30deg) scale(0.7,0.7);transform:rotate(30deg) scale(0.7,0.7);top:0%;left:60%;}
.pics li:nth-child(2n) a {-webkit-transform:rotate(-30deg) scale(0.7,0.7);-moz-transform:rotate(-30deg) scale(0.7,0.7);transform:rotate(-30deg) scale(0.7,0.7);top:40%;left:80%;}
.pics li:nth-child(3n) a {-webkit-transform:rotate(40deg) scale(0.7,0.7);-moz-transform:rotate(40deg) scale(0.7,0.7);transform:rotate(40deg) scale(0.7,0.7);top:50%;left:-10%;}
.pics li:nth-child(n) a:hover {-webkit-transform:rotate(0deg) scale(1,1);-moz-transform:rotate(0deg) scale(1,1);transform:rotate(0deg) scale(1,1);}
.pics img {
display:block;
padding-bottom:20px;
}
.pics a:hover {
z-index:100;
}
#wrapText {
margin-left: 210px;
margin-bottom: -20px;
}
#top {
animation-name: fade;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 5s;
animation-direction: alternate;
}
@keyframes fade {
0% {
opacity: 1;
}
25% {
opacity: 1;
}
75% {
opacity: 0;
}
100% {
opacity: 0;
}
}