-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjava.css
More file actions
198 lines (168 loc) · 3.25 KB
/
java.css
File metadata and controls
198 lines (168 loc) · 3.25 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
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
/* Simple css for slideshow */
html {
padding: 0px; margin: 0px;
font-family: "Times New Roman", Times, serif;
}
/* The containger for the entire slideshow. */
.wrapper {
position: relative;
width: 640px;
margin: 20px auto;
clear: both;
border: 0px solid purple;
text-align: center;
}
/* This is the frame into which we place the active slide
and hide the inactive slides */
#frame {
width: 600px;
overflow: hidden;
height: 300px;
border: 2px solid black;
margin: 0px 20px;
}
/* CSS for navigation */
.stop-forward,
.auto-forward {
text-align: center;
font-family: Arial, Gadget, sans-serif;
margin: 5px auto;
font-size: 16px;
font-weight: 600;
width: auto;
padding: 3px 18px;
background-color: grey;
border: 1px solid black;
border-radius: 10px;
display: inline;
box-shadow: 3px 3px 5px black;
}
.stop-forward:hover,
.auto-forward:hover {
background-color: green;
color: white;
border: 3px solid black;
}
.arrow-prev {
position: absolute;
top: 120px;
left: -3px;
}
.arrow-next {
position: absolute;
top: 120px;
right: -6px;
}
/* The div that holds the three active slides at any given time */
#slides {
width: 1800px;
height: 400px;
margin-left: -600px;
font-family: Arial, Gadget, sans-serif;
text-align: left;
}
/* CSS classes to help with animation.
This could be cleaned up a little more */
#slides.animate {
transition-property: all;
transition-duration: 1.3s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
#slides.animate-none {
transition-duration: 0s;
}
#slides.animate.move-right {
margin-left: 0px;
}
#slides.animate.move-left {
margin-left: -1200px;
}
#slides div.image {
margin-top: -30px;
width: 600px;
height: 330px;
float: left;
}
#slides img {
width: 600px;
}
.caption {
padding: 5px 20px;
background-color: rgba(0, 0, 0, 0.5);
width: 560px;
height: 20px;
color: white;
}
.caption.down {
position: relative;
top: 330px;
left: 600px;
transition-property: all;
transition-duration: 1s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.caption.down-left {
position: relative;
top: 330px;
left: 0px;
transition-property: all;
transition-duration: 1s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
#active-slide {
position: relative;
}
.caption.up {
position: relative;
top: 300px;
left: 0px;
transition-property: all;
transition-duration: 0.5s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.caption.up-1 {
position: relative;
top: 300px;
left: 0px;
transition-property: all;
transition-duration: 1.5s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.caption.move-down {
position: relative;
top: 330px;
}
.caption.down.move-up {
position: relative;
left: 600px;
top: 300px;
}
.caption.down-left.move-up-left {
position: relative;
left: 0px;
top: 300px;
height: 20px;
width: 560px;
padding: 5px 20px;
}
.hide-caption {
position: relative;
top: 330px;
left: 600px;
height: 20px;
width: 560px;
padding: 5px 20px;
}
/* Simple CSS for the 'about text' on page */
#about-text {
border: 0px solid green;
clear: both;
width: 600px;
margin: 0px auto;
}
.center {
text-align: center;
}
#about-text p {
margin-top: 30px;
}