-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3_3.css
More file actions
186 lines (161 loc) · 3.53 KB
/
3_3.css
File metadata and controls
186 lines (161 loc) · 3.53 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
/*button*/
.button {
border: 1px solid;
color: black;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 20px;
margin: 15px 2px;
cursor: pointer;
background-color: white;
}
.button2 {
border: none;
color: gray;
text-align: center;
font-size: 15px;
margin: 15px 2px;
cursor: pointer;
background-color: white;
}
.monospace {
text-align: center;
text-transform: uppercase;
font-family: "Lucida Console", Courier, monospace;
font-size: 40px;
}
/* Style The Dropdown Button */
.dropbtn {
background-color: white;
/*color: white;*/
padding: 16px;
font-size: 16px;
border: 6px solid white;
cursor: pointer;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
border-bottom: 6px solid black;
background-color: white;
}
div.nav_bar {
z-index:1;
text-align: center;
position: -webkit-sticky;
position: sticky;
top:0;
background-color: white;
border-bottom: 3px solid white;
padding: 0;
width: 100%;
font-size: 10;
}
div.little {
position: absolute;
top: 0;
right: 0;
width: 200px;
height: 100px;
}
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
max-width:100%;
max-height: 550px;
overflow:hidden;
position: relative;
margin: auto;
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px}
}
/*img_func*/
.column1_container {
position: relative;
width: 50%;
}
.column1_image {
display: block;
width: 100%;
height: auto;
}
.column1_overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: white;
}
.column1_container:hover .column1_overlay {
opacity: 1;
}
.column1_text {
color: black;
font-size: 20px;
position: absolute;
top: 50%;
left: 45%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
/*-----------------------------------------------------------------*/
.new_1 {
max-width:100%;
max-height: 550px;
overflow:hidden;
position: relative;
}
.ccle {
margin: 0px auto;/*div對齊效果*/
text-align: center;/*display: inline對齊效果*/
}
.ccle div {
display: inline-block;/*讓div並排*/
vertical-align: top;/*就算個個div行數不同,也一律向上對齊*/
width: auto;
height: auto;
padding: 20px;
margin: 20px;
}