Pārlūkot izejas kodu

搜索页面右侧信息居中

luyanan 7 gadi atpakaļ
vecāks
revīzija
893f6a73c5
2 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 3 3
      css/genindex.css
  2. 5 5
      searchNew.html

+ 3 - 3
css/genindex.css

@ -201,10 +201,10 @@ ul.filterUl>li.filterCurrent{border-color:#e1e1e1;border-radius: 20px;color:#ff9
201 201
.listdiv ul.listitemdiv{}
202 202
ul.listitemdiv li{position:relative;min-height:132px;padding:15px 20px;}
203 203
ul.listitemdiv li:after{content: "";position: absolute;left: 0;right: 0;bottom: 0;height: 2px;background: #f7f7f8;}
204
ul.listitemdiv li a.linkhref{display: block;}
204
ul.listitemdiv li a.linkhref{display: block;width: 100%;}
205 205
ul.listitemdiv li .lefthead{position:absolute;top:50%;overflow: hidden;background-size: cover;background-position: center;}
206 206
ul.listitemdiv li .userheadt{width: 100px;height:100px;margin-top:-50px;background-image: url(../images/default-photo.jpg);}
207
ul.listitemdiv li .centercon{padding-left:120px;padding-right:200px;margin-top:14px;}
207
ul.listitemdiv li .centercon{padding-left:120px;padding-right:200px;}
208 208
ul.listitemdiv li .centercon .h1font{font-size: 16px;line-height: 28px; color:#000;}
209 209
ul.listitemdiv li .centercon .h2font{font-size: 14px;line-height: 24px; color:#666;}
210 210
ul.listitemdiv li .rightop{padding:0 24px;line-height:32px;font-size:16px;color:#FFFFFF;cursor:pointer;border-radius:4px;background:#ff9900;
@ -214,7 +214,7 @@ ul.listitemdiv li .rightop{padding:0 24px;line-height:32px;font-size:16px;color:
214 214
215 215
ul.listitemdiv.listmorediv li{min-height: 142px;}	
216 216
ul.listitemdiv.listmorediv .resouhead{width: 164px;height: 110px;margin-top:-55px;background-image: url(../images/default-resource.jpg);}
217
ul.listitemdiv.listmorediv .centercon{padding-left:184px;padding-right: 10px;margin-top:16px;}
217
ul.listitemdiv.listmorediv .centercon{padding-left:184px;padding-right: 10px;}
218 218
ul.listitemdiv.listmorediv .margin-top:16px;{margin-top:30px;}
219 219
220 220

+ 5 - 5
searchNew.html

@ -95,7 +95,7 @@
95 95
				<div class="listdiv">
96 96
					<!--找人-->
97 97
					<ul class="listitemdiv">
98
						<li>
98
						<li class="flexCenter">
99 99
							<a class="linkhref" href="information-brow.html">
100 100
								<div class="lefthead userheadt userRadius"></div>
101 101
								<div class="centercon">
@ -112,7 +112,7 @@
112 112
					</ul>
113 113
					<!--找资源-->
114 114
					<ul class="listitemdiv listmorediv">
115
						<li>
115
						<li class="flexCenter">
116 116
							<a class="linkhref" href="resourceInfo.html">
117 117
								<div class="lefthead resouhead"></div>
118 118
								<div class="centercon">
@ -125,7 +125,7 @@
125 125
								</div>
126 126
							</a>
127 127
						</li>
128
						<li>
128
						<li class="flexCenter">
129 129
							<a class="linkhref" href="resourceInfo.html">
130 130
								<div class="lefthead resouhead"></div>
131 131
								<div class="centercon">
@ -141,7 +141,7 @@
141 141
					</ul>
142 142
					<!--找文章-->
143 143
					<ul class="listitemdiv listmorediv">
144
						<li>
144
						<li class="flexCenter">
145 145
							<a class="linkhref" href="articalShow.html">
146 146
								<div class="lefthead articalhead"></div>
147 147
								<div class="centercon centercon2">
@ -153,7 +153,7 @@
153 153
								</div>
154 154
							</a>
155 155
						</li>
156
						<li>
156
						<li class="flexCenter">
157 157
							<a class="linkhref" href="articalShow.html">
158 158
								<div class="lefthead articalhead"></div>
159 159
								<div class="centercon centercon2">