Difference between revisions of "Team:ZJU-China/Template/label.css"
(One intermediate revision by the same user not shown) | |||
Line 75: | Line 75: | ||
position:absolute; | position:absolute; | ||
z-index:2; | z-index:2; | ||
− | right:- | + | right:-190px; |
padding-left:30px; | padding-left:30px; | ||
Latest revision as of 05:53, 5 September 2015
html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, 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{ margin: 0; padding: 0; font-size: 100%; border: 0; outline: 0; background: transparent; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
- focus {
outline: 0; }
table { border-collapse: collapse; border-spacing: 0; }
.labels{ line-height:20px;
font-size: 14px;
color:#FF0000; font-family:Arial
border-top-width: 5px; height: 100px;
}
.labels ul li{ color:firebrick; }
/*弹出菜单*/
- popView1{
/*左侧弹出窗口的长宽、圆角、背景颜色*/ height: 400px; width: 200px; border-radius: 10px; background-color: #DDDDDD;
/*布局排版*/ position:absolute; z-index:2; left:-180px; padding-left:50px;
/*字体设置*/
line-height:20px;
font-size: 16px;
color:#000000; font-family:Arial }
/*弹出菜单*/
- popView2{
/*右侧弹出窗口的长宽、圆角、背景颜色*/ display: none; height: 400px; width: 200px; border-radius: 10px; background-color: #DDDDDD;
/*布局排版*/ position:absolute; z-index:2; right:-190px; padding-left:30px;
/*字体设置*/
line-height:20px;
font-size: 16px;
color:#000000; font-family:Arial }
- popView1 header{
font-family: gennifer line-height:30px; color:Black; font-weight:bold; }
- popView2 header{
font-family: gennifer line-height:30px; color:Black; font-weight:bold; }
/* 自适应 */
@media screen and (min-width: 960px) {
- popView1{ display:block}
} @media screen and (max-width: 960px) {
- popView1{ display:none}
}