Маштабирование слайдера и текста при изменении размеров браузера
13.06.2014, 11:20. Показов 2040. Ответов 5
Здравствуйте форумчане!
Помогите найти ошибку код не мой, но нужно исправить, не могу найти ошибку, идея в том чтобы при изменении окна браузера слайдер и текст масштабировались, картинка масштабируется, а текст выходит за пределы слайдера и наезжает на меню.
Часть HTML разметки:
| HTML5 | 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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="style2.css" rel="stylesheet" type="text/css" />
<link href="engine1/style-engine.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="engine1/jquery.js"></script>
</head>
<body>
<header id="htop">
<div id="floatingbar">
<div id="logo-main">
<div id="logo">
<a href="/"><img src="engine1/logo2.png" id="lm"></a>
</div>
</div>
<div id="nav-main">
<div id="nav">
<ul>
<ul id="menu-header-menu-2">
<li id="menu-item-344" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-344">
<a href="#htop">Главная</a>
</li>
<li id="menu-item-345" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-345">
<a href="#social">О оооооо</a>
</li>
<li id="menu-item-346" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-346">
<a href="#oyc">Ооооооооооо</a>
</li>
<li id="menu-item-347" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-347">
<a href="#oyc">Ооооооо</a>
</li>
<li id="menu-item-349" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-349">
<a href="#" >Оооооооооо</a>
</li>
<li id="menu-item-350" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-350">
<a href="#" >Ооооооооооо</a>
</li>
<li id="menu-item-360" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-360">
<a href="#" >ООоооо</a>
</li>
<li id="menu-item-348" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-348">
<a href="#contacts-map" >Оооооооо</a>
</li>
</ul>
</ul>
</div>
</div>
</div>
<div style="clear:both;"></div>
<div id="slider">
<div id="wowslider-container1">
<div class="ws_images">
<ul>
<li>
<img src="data1/images/bg.jpg" alt="bg" id="wows1_0"/>
<span>
<h1>Текст Текст Текст Текст Текст Текст </h1>
<p>Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст </p>
<a href="#" id="slbutton">Подробнее</a>
</span>
</li>
<li>
<img src="data1/images/bg___2.jpg" alt="bg" id="wows1_1"/>
<span>
<h1>Текст Текст Текст Текст Текст Текст </h1>
<p>Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст </p>
<a href="#" id="slbutton">Подробнее</a>
</span>
</li>
<li>
<img src="data1/images/bg__1.jpg" alt="bg" id="wows1_2"/>
<span>
<h1>Текст Текст Текст Текст Текст Текст </h1>
<p>Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст Текст </p>
<a href="#" id="slbutton">Подробнее</a>
</span>
</li>
</ul>
</div>
<div class="ws_bullets">
<div>
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</div>
</div>
<script type="text/javascript" src="engine1/wowslider.js"></script>
<script type="text/javascript" src="engine1/script.js"></script>
</div>
</div>
</body>
</html> |
|
Style.css :
| 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
| @font-face {
font-family: menufont;
src: url([url]http://iclinic.kz/_new/fonts/Intro-Regular.otf);[/url]
}
@font-face {
font-family: phonefont;
src: url([url]http://iclinic.kz/_new/fonts/Intro-Light-Caps.otf);[/url]
}
@font-face {
font-family: welcomefont;
src: url([url]http://iclinic.kz/_new/fonts/Intro-Thin.otf);[/url]
}
@font-face {
font-family: basicfont;
src: url([url]http://iclinic.kz/_new/fonts/Intro-Light.otf);[/url]
}
@font-face {
font-family: buttonfont;
src: url([url]http://iclinic.kz/_new/fonts/Intro-Bold.otf);[/url]
}
body {
background: #fff;
font-family: basicfont;
font-weight: normal;
margin:0;
border:0;
}
header {
width: 100%;
margin: 0 auto;
z-index: 9;
position: relative;
display: block;
height:60px;
}
a {color:#3e7ec2;}
a:hover {text-decoration:none;}
img {border:0;}
div.wpcf7-mail-sent-ok {border: 0; font-size:14px; text-align:center; padding-top:10px; float:left;}
span.wpcf7-not-valid-tip {font-size:12px;text-align:center;}
div.wpcf7-validation-errors {border: 0; font-size:14px; text-align:center; padding-top:10px; float:left;}
#logo-main { padding:9px 0 10px 20px; width:13%; float:left; }
#lm{max-width: 100%;}
#nav-main {width:100%;}
#nav {width:80%; float:right;padding:9px 0 0;}
#nav ul {list-style:none; border:0; margin:0;}
#nav ul li a {float:left; font-family: menufont; margin-right:7px; font-size:14px; color:#000; text-decoration:none;padding:7px 12px; }
#nav ul li a:hover {border-radius:3px; box-shadow: inset 0px 0px 10px #b4b4b4;}
#slider {z-index: 6;position: relative;}
#slbutton {margin:15px 0;font-family: menufont;font-size:17px;text-decoration:none;background:#3e7ec2;border-radius:3px;padding:10px 25px;color:#fff;text-shadow: 0px 1px 0px #3872af;box-shadow: 0px 3px 0px #3872af;float:left;}
#imagepage {min-height:350px;max-width:1920px;z-index: 6;position: relative;margin-top:-60px;}
#imagepage img{width:100%;}
#social {height:100px;border-bottom:1px solid #e6e8eb;background:#fff;margin-top:-4px;}
#social #mainsoc {width:1024px;margin:0 auto;padding-top:20px;}
#social #mainsoc #icon{width:260px;float:left;border-right:1px solid #e6e8eb;height:67px;margin-left:252px;}
#social #mainsoc #icon img{float:left;margin:15px 10px 0;}
#social #mainsoc #phone{margin-left:30px;width:400px;float:left;font-family: phonefont;font-size:25px;color:#3e7ec2;padding-top:5px;}
#welcome {background: url([url]http://iclinic.kz/_new/images/bg-welcome.png[/url]) repeat;}
#welcome #text {width:980px;margin:0 auto;text-align:center;}
#welcome #text h1 {margin:0;padding-top:35px;font-family: welcomefont;font-size:34px;font-weight:normal;}
#welcome #text h1 strong {color:#3e7ec2;}
#welcome #text p {color:#595c5f;font-size:18px;line-height:20px;padding-top:10px;}
#title {height:140px;background: url([url]http://iclinic.kz/_new/images/bg-welcome.png[/url]) repeat;margin-top: -20px;}
#title #texttit {width:1024px;margin:0 auto;margin-top:-150px;}
#title #texttit h1 {line-height:105px;font-family: menufont;font-size:34px;font-weight:normal;color:#4F76A3;padding: 2px;}
#pageimage {min-width:1024px;max-width:2560px;height:155px;}
#pageimage img {width:100%;}
#contacts-map {height:450px;margin:5px 0;}
#service {height:717px;background: #e9f2f6;}
#service #mainser {width:1024px; margin:0 auto;}
#service #mainser h1{padding-top:30px;font-size:24px;font-family: menufont;font-weight:normal;color:#4F76A3;padding-bottom:20px;}
#mainser #ouc {float: right; padding-top: 40px; font-size: 24px;}
#service #mainser ul {list-style:none;border:0;margin:0;padding:0;}
#service #mainser ul li {float:left; font-family: menufont; margin-right:23px; width:233px; height:300px;margin-bottom:10px;}
#service #mainser ul li h2{font-family: menufont; font-size:17px;line-height:17px;font-weight:normal; width:230px; text-align:center; margin:0 auto;}
#service #mainser ul li h2 a {color:#4a4f53;text-decoration:none;}
#service #mainser ul li h2 a:hover{text-decoration:underline;}
#service #mainser ul li p {font-family:Trebuchet MS;font-size:12px;line-height:14px;color:#8e949a;font-weight:normal;text-align:center;}
#service #mainser ul li img {padding:10px 45px;}
#content {background: #e9f2f6;margin-top: -20px;padding-bottom:20px;padding-top:20px;}
#content #maincon{width:1024px; margin:0 auto;font-family:Trebuchet MS;font-size:15px;line-height:17px;color:#3D3D3D;font-weight:normal;text-align:justify;}
#content #maincon h1{padding-top:30px;font-size:24px;font-family: menufont;font-weight:normal;color:#4b86c6;padding-bottom:10px;}
#content #maincon p {padding-left:10px;}
#news {height:554px;background: url([url]http://iclinic.kz/_new/images/bg-welcome.png[/url]) repeat; border-bottom:1px solid #e6e8eb;margin-top: -20px;}
#news #mainnews {width:1024px; margin:0 auto;}
#news #mainnews h1{padding-top:45px;font-size:24px;font-family: menufont;font-weight:normal;color:#4F76A3;padding-bottom:10px;}
#news #mainnews ul {list-style:none;border:0;margin:0;padding:0;}
#news #mainnews ul li {float:left; font-family: menufont; margin-right:30px; width:226px; height:425px;margin-bottom:10px;}
#news #mainnews #link{font-size:14px;color:#565656;font-family: menufont;font-weight:normal; text-decoration:none;}
#news #mainnews #link:hover{text-decoration:underline;}
#news #mainnews ul li h2{font-family: menufont; font-size:17px;line-height:18px;font-weight:normal; width:228px;}
#news #mainnews ul li h2 a {color:#4a4f53;text-decoration:none;}
#news #mainnews ul li h2 a:hover{text-decoration:underline;}
#news #mainnews ul li p {font-family:Trebuchet MS;font-size:13px;line-height:16px;color:#8e949a;font-weight:normal;text-align:justify;width:225px;}
#news #mainnews ul li img {width:225px;height:225px;}
#reviews {height:635px;background: url([url]http://iclinic.kz/_new/images/bg-review.png[/url]) repeat; border-bottom:1px solid #e6e8eb; box-shadow: 0 3px 8px #c7c7c7; position:relative; z-index:1;}
#reviews #mainreview {width:1024px;margin:0 auto;}
#reviews #mainreview #review {width:600px;float:left;margin-right:50px;}
#reviews #mainreview #review h1 {padding-top:15px;font-size:24px;font-family: menufont;font-weight:normal;color:#4F76A3;padding-bottom:20px;}
#reviews #mainreview #review h1 span {font-size:14px;margin-left: 200px;}
#reviews #mainreview #review ul {list-style:none;border:0;margin:0;padding:0;}
#reviews #mainreview #review ul li {width:595px; margin-bottom:40px;float:left;}
#reviews #mainreview #review ul li img {float:left;width:94px;margin-right:25px;}
#reviews #mainreview #review ul li span {width:476px;float:right;font-family:Trebuchet MS;font-size:14px;line-height:16px;color:#757b83;font-weight:normal;font-style:italic;}
#reviews #mainreview #review ul li p {font-family:Trebuchet MS;font-size:15px;line-height:16px;color:#aeaeae;font-style:normal;}
#reviews #mainreview #review #linkreview {float:left;border-radius:4px;background:#e9f2f6;font-size:14px;font-family: menufont;font-weight:normal;text-decoration:none;color:#4a4f53;padding:8px 435px 8px 15px;}
#reviews #mainreview #make {width:374px;float:right;}
#form {margin-top:35px;width:320px;height:480px;background:#e9f2f6; border-radius:8px;}
#form h1 {padding-left:26px;padding-top:20px;font-size:23px;line-height:24px;font-family: menufont;font-weight:normal;color:#4F76A3;padding-bottom:10px;}
#form #input {font-family: basicfont; color:#9ea2a7;font-size:15px;border:1px solid #e7e7e7;width:240px; margin-left:28px;padding:12px 10px;box-shadow: inset 0px 0px 6px #e2e2e2;float:left;margin-bottom:5px;}
#form textarea {height:90px;font-family: basicfont; color:#9ea2a7;font-size:15px;border:1px solid #e7e7e7;width:240px; margin-left:28px;padding:12px 10px;box-shadow: inset 0px 0px 6px #e2e2e2;float:left;}
#form #button {cursor: pointer;width:262px;border:0;font-family: buttonfont;font-size:20px;padding:10px 0;text-decoration:none;background:#a2d678;border-radius:3px;color:#fff;text-shadow: 0px 1px 0px #91c06c;box-shadow: 0px 3px 0px #92c16c;margin-left:28px;margin-top:20px;float:left;}
#form #button:hover {height:47px;box-shadow:inset 0px 0px 8px #7bac53;padding:10px 0 15px;}
#otzyv {font-family: basicfont; color:#9ea2a7;font-size:15px;border:1px solid #e7e7e7;width:240px;padding:12px 10px;box-shadow: inset 0px 0px 6px #e2e2e2;float:left;margin-bottom:5px;}
#otzyvy {height:125px;font-family: basicfont; color:#9ea2a7;font-size:15px;border:1px solid #e7e7e7;width:700px; margin-top:2px;padding:12px 10px;box-shadow: inset 0px 0px 6px #e2e2e2;float:left;}
#otzyvv {cursor: pointer;width:262px;border:0;font-family: buttonfont;font-size:20px;padding:10px 0;text-decoration:none;background:#a2d678;border-radius:3px;color:#fff;text-shadow: 0px 1px 0px #91c06c;box-shadow: 0px 3px 0px #92c16c;margin-top:3px;float:left;}
#otzyvv:hover {height:47px;box-shadow:inset 0px 0px 8px #7bac53;padding:10px 0 15px;}
#footer {height:405px; background: #e9f2f6; position:relative;margin-top: -10px; box-shadow:0 -3px 8px #c7c7c7;z-index:1;}
#footer #mainfoot {width:1024px; margin:0 auto; padding-top:20px;}
#footer #mainfoot #about {width:230px;height:300px;float:left;margin-right:20px;}
#footer #mainfoot #about h2 {font-family: basicfont; color:#43484d;font-size:21px;float:left;}
#footer #mainfoot #about p {font-size:14px;color:#8e8e8e;font-family: basicfont;float:left;}
#footer #mainfoot #about #readmore {font-family: menufont;font-size:16px;text-decoration:none;background:#a2d678;border-radius:3px;padding:8px 22px;color:#fff;text-shadow: 0px 1px 0px #91c06c;box-shadow: 0px 3px 0px #92c16c;float:left;margin-top:5px;}
#footer #mainfoot #about #readmore:hover {height:22px;font-family: menufont;font-size:16px;text-decoration:none;background:#a9d882;border-radius:3px;padding:8px 22px;color:#fff;text-shadow: 0px 1px 0px #91c06c;box-shadow:inset 0px 0px 8px #7bac53;float:left;margin-top:5px;}
#footer #mainfoot #graffic {width:220px;height:300px;float:left;margin-right:49px;}
#footer #mainfoot #graffic h2 {font-family: basicfont; color:#43484d;font-size:21px;}
#footer #mainfoot #graffic table {width:220px;font-size:14px;color:#8e8e8e;font-family: basicfont;margin-top:28px;}
#footer #mainfoot #graffic span {color:#5c5c5c;}
#footer #mainfoot #graffic hr {height:2px; border:0;background: #dfdfe2; /* Old browsers */
background: -moz-linear-gradient(top, #dfdfe2 0%, #dfdfe2 50%, #ffffff 50%, #fffcfc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dfdfe2), color-stop(50%,#dfdfe2), color-stop(50%,#ffffff), color-stop(100%,#fffcfc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* IE10+ */
background: linear-gradient(to bottom, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfe2', endColorstr='#fffcfc',GradientType=0 ); /* IE6-9 */}
#footer #mainfoot #podpis {width:230px;height:300px;float:left;margin-right:25px;}
#footer #mainfoot #podpis h2 {font-family: basicfont; color:#43484d;font-size:21px;margin-bottom:25px;float:left;width:230px;}
#footer #mainfoot #podpis img {margin-right:8px;margin-bottom:8px;float:left;}
#footer #mainfoot #contacts {width:250px;height:300px;float:left;font-size:14px;color:#43484d;}
#footer #mainfoot #contacts h2 {font-family: basicfont; font-size:21px;margin-bottom:23px;}
#footer #mainfoot hr {height:2px; border:0;background: #dfdfe2; /* Old browsers */
background: -moz-linear-gradient(top, #dfdfe2 0%, #dfdfe2 50%, #ffffff 50%, #fffcfc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dfdfe2), color-stop(50%,#dfdfe2), color-stop(50%,#ffffff), color-stop(100%,#fffcfc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* IE10+ */
background: linear-gradient(to bottom, #dfdfe2 0%,#dfdfe2 50%,#ffffff 50%,#fffcfc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfe2', endColorstr='#fffcfc',GradientType=0 ); /* IE6-9 */}
#footer #mainfoot #flogo{float:left;padding:5px 10px;}
#footer #mainfoot ul {list-style:none;padding:0;margin:0;border:0;float:right;}
#footer #mainfoot ul li {float:left;padding:16px 12px; }
#footer #mainfoot ul li a {font-family: menufont; font-weight:normal; font-size:12px; color:#767676; text-decoration:none; }
#footer #mainfoot ul li a:hover {color:#000; text-decoration:underline; }
.alt2{ margin: 0px; padding: 0px;}
.smallfont input {background: transparent;border:0;font-family:menufont;font-weight:normal;color: #3e7ec2;font-size:16px;text-decoration: underline;cursor: pointer;}
.smallfont input:hover {text-decoration: none;}
.spoil{margin-top:5px;margin-left:10px;}
/* CSS Document */ |
|
Style2.css :
| 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
| #floatingbar,#minibar{
height:60px;
max-width: 1075px;
margin: 0 auto;
}
#floatingbar ul, #minibar ul{
list-style-type:none;
margin-top:-3px;
margin-left:-37px;
}
#floatingbar ul li,#minibar ul li{
float:left;
padding:10px;
}
#floatingbar ul li a,#minibar ul li a{
text-decoration:none;
}
#minibar { display:none;}
.floater{
position:fixed;
top:0px;
z-index:999;
height:60px;
width:1075px;
border-top:none;
background-color: #fff;
color:#fff;
display:block;
clear:both;
margin-left:auto;
margin-right:auto;
float:center;
border:1px solid #F1F1F1;
box-shadow: 0 0 5px #b2b2b2;
-webkit-box-shadow: 0 0 5px #b2b2b2;
-moz-box-shadow: 0 0 5px rgba #b2b2b2;
border-radius: .214em;
-webkit-border-radius: .214em;
-moz-border-radius: .214em;
}
button {
position: relative;
margin: 0 .5em .5em .5em;
padding: 0.5em 1.4em;
font-size: 14px;
font-weight: bold;
font-family:Arial;
color: #4f4f4f;
text-shadow: 0 1px 1px #fff;
background: #fff;
background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#c4c4c4));
background: -moz-linear-gradient(top, #ededed, #c4c4c4);
border: 1px solid #acacac;
border-top-color: #bdbdbd;
letter-spacing:-1px;
border-bottom-color: #949494;
border-radius: .214em;
-webkit-border-radius: .214em;
-moz-border-radius: .214em;
transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
box-shadow: inset 0 1px 0 #fff;
-webkit-box-shadow: inset 0 1px 0 #fff;
-moz-box-shadow: inset 0 1px 0 #fff;
-o-box-shadow: inset 0 1px 0 #fff;
cursor: pointer;
}
button:hover,
button:focus {
box-shadow: 0 0 7px rgba(0,0,0,0.4), inset 0 1px 0 #fff;
-webkit-box-shadow: 0 0 7px rgba(0,0,0,0.4), inset 0 1px 0 #fff;
-moz-box-shadow: 0 0 7px rgba(0,0,0,0.4), inset 0 1px 0 #fff;
-o-box-shadow: 0 0 7px rgba(0,0,0,0.4), inset 0 1px 0 #fff;
}
button:active {
background: #ccc;
background: -webkit-gradient(linear, left top, left bottom, from(#869d19), to(#ebebeb));
background: -moz-linear-gradient(top, #c3c3c3, #ebebeb);
border-color: #a6a6a6;
border-top-color: #939393;
border-bottom-color: #bcbcbc;
box-shadow: inset 0 -1px 0 #fff;
-webkit-box-shadow: inset 0 -1px 0 #fff;
-moz-box-shadow: inset 0 -1px 0 #fff;
-o-box-shadow: inset 0 -1px 0 #fff;
}
button.default {
color: #ààà;
background: #fff;
background: -webkit-gradient(linear, left top, left bottom, from(#b4cf36), to(#869d19));
background: -moz-linear-gradient(top, #869d19, #85b2cb);
border: 1px solid #6c800f;
border-top-color: #6c800f;
border-bottom-color: #6c800f;
}
button.default:hover,
button.default:focus {
box-shadow: 0 0 7px #53a6d5;
box-shadow: 0 0 7px #53a6d5, inset 0 1px 0 #fff;
-webkit-box-shadow: 0 0 7px #53a6d5, inset 0 1px 0 #fff;
-moz-box-shadow: 0 0 7px #53a6d5, inset 0 1px 0 #fff;
-o-box-shadow: 0 0 7px #53a6d5, inset 0 1px 0 #fff;
}
button.default:active {
background: #8abcd7;
background: -webkit-gradient(linear, left top, left bottom, from(#869d19), to(#b4cf36));
background: -moz-linear-gradient(top, #869d19, #b4cf36);
border-color: #6c800f;
border-top-color: #6c800f;
border-bottom-color: #6c800f;
box-shadow: inset 0 -1px 1px #fff;
-webkit-box-shadow: inset 0 -1px 1px #fff;
-moz-box-shadow: inset 0 -1px 1px #fff;
-o-box-shadow: inset 0 -1px 1px #fff;
}
button[disabled],
button[disabled]:active {
color: #a7a7a7;
background: #efefef;
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e1e1e1));
background: -moz-linear-gradient(top, #f6f6f6, #e1e1e1);
border-color: #d4d4d4;
border-top-color: #dedede;
border-bottom-color: #c9c9c9;
cursor: default;
}
button[disabled]:hover,
button[disabled]:focus {
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
-o-box-shadow: none;
}
#dirbutton img { margin-top:-3px;} |
|
Style2.css :
| 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
| /*
* generated by WOW Slider 2.6
* template Elemental
*/
#wowslider-container1 {
zoom: 1;
position: relative;
max-width:2560px;
/*min-height:500px;*/
z-index:100;
border:none;
text-align:left; /* reset align=center */
}
* html #wowslider-container1{ max-width:1920px;min-height:530px;}
#wowslider-container1 .ws_images ul{
position:relative;
width: 10000%;
height:100%;
height:auto;
left:0;
list-style:none;
margin:0;
padding:0;
border-spacing:0;
overflow: visible;
/*table-layout:fixed;*/
}
#wowslider-container1 .ws_images ul li{
width:1%;
height:100%;
line-height:0; /*opera*/
float:left;
font-size:0;
padding:0 0 0 0 !important;
margin:0 0 0 0 !important;
}
#wowslider-container1 .ws_images{
position: relative;
left:0;
top:0;
width:100%;
height:100%;
overflow:hidden;
/*height: 500px;*/
}
#wowslider-container1 .ws_images a{
width:100%;
display:block;
color:transparent;
}
#wowslider-container1 img{
max-width: none !important;
}
#wowslider-container1 .ws_images img{
width:100%;
border:none 0;
/*height:100%;*/
max-width: none;
/*max-height: 600px;*/
}
#wowslider-container1 a{
text-decoration: none;
outline: none;
border: none;
}
#wowslider-container1 .ws_bullets {
font-size: 0px;
float: left;
position:absolute;
z-index:70;
}
#wowslider-container1 .ws_bullets div{
position:relative;
float:left;
}
#wowslider-container1 a.wsl{
display:none;
}
#wowslider-container1 .ws_bullets {
padding: 9px;
}
#wowslider-container1 .ws_bullets a {
width:11px;
height:11px;
background: url(./bullet.png) left top;
float: left;
text-indent: -4000px;
position:relative;
margin-left:5px;
color:transparent;
}
#wowslider-container1 .ws_bullets a:hover{
background-position: 0 50%;
}
#wowslider-container1 .ws_bullets a.ws_selbull{
background-position: 0 100%;
}
#wowslider-container1 a.ws_next, #wowslider-container1 a.ws_prev {
position:absolute;
display:block;
top:50%;
margin-top:-20px;
z-index:60;
height: 45px;
width: 45px;
background-image: url(./arrows.png);
opacity: 0.8;
}
#wowslider-container1 a.ws_next{
background-position: 100% 0;
right:21px;
}
#wowslider-container1 a.ws_prev {
left:21px;
background-position: 0 0;
}
#wowslider-container1 a.ws_next:hover{
opacity: 1;
}
#wowslider-container1 a.ws_prev:hover {
opacity: 1;
}
/* bottom center */
#wowslider-container1 .ws_bullets {
bottom: 0px;
left:50%;
}
#wowslider-container1 .ws_bullets div{
left:-50%;
}
#wowslider-container1 span{
position:absolute;
display:block;
bottom: 30%;
left:40%;
z-index: 50;
font-size: 18px;
margin-left:-200px;
width:800px;
}
#wowslider-container1 h1 {font-family: basicfont;font-size:40px;color:#66ccff;text-shadow: 1px 1px 0px #737373;}
#wowslider-container1 p {font-family: menufont;font-size:18px;color:#fff;text-shadow: 1px 1px 0px #000;}
#wowslider-container1 span div{
padding-top:5px;
font-size: 14px;
}
#wowslider-container1 .ws_images ul{
animation: wsBasic 19.5s infinite;
-moz-animation: wsBasic 19.5s infinite;
-webkit-animation: wsBasic 19.5s infinite;
}
@keyframes wsBasic{0%{left:-0%} 23.08%{left:-0%} 33.33%{left:-100%} 56.41%{left:-100%} 66.67%{left:-200%} 89.74%{left:-200%} }
@-moz-keyframes wsBasic{0%{left:-0%} 23.08%{left:-0%} 33.33%{left:-100%} 56.41%{left:-100%} 66.67%{left:-200%} 89.74%{left:-200%} }
@-webkit-keyframes wsBasic{0%{left:-0%} 23.08%{left:-0%} 33.33%{left:-100%} 56.41%{left:-100%} 66.67%{left:-200%} 89.74%{left:-200%} }
#wowslider-container1 .ws_images {
border-radius: 4px;
}
#wowslider-container1 .ws_effect img{
border-radius: 4px;
} |
|
0
|