用户:LettuceIce/styles.css:修订间差异
来自RIA | Wiki
更多操作
LettuceIce(留言 | 贡献) 清空全部内容 标签:清空 |
LettuceIce(留言 | 贡献) 无编辑摘要 |
||
| 第1行: | 第1行: | ||
@media (min-width: 767px) { | |||
.mobile-top-bar { | |||
display: block; | |||
padding: 0; | |||
margin: auto 0px !important; | |||
} | |||
.mobile-top-bar li { | |||
display: none; | |||
padding: 0; | |||
} | |||
.open-menu, .close-menu { | |||
display: block; | |||
} | |||
.page-history tbody tr td:last-child { | |||
width: 35%; | |||
} | |||
.owindow { | |||
min-width: 80%; | |||
max-width: 99%; | |||
} | |||
.modal-body .table, .modal-body .table ~ div { | |||
float: left; | |||
} | |||
.owindow .button-bar { | |||
float: right; | |||
} | |||
.owindow div .btn-primary { | |||
width: 100%; | |||
float: left; | |||
} | |||
.owindow div .btn-primary ~ div { | |||
width: 100%; | |||
} | |||
.yui-navset { | |||
z-index: 1; | |||
} | |||
#navi-bar, #navi-bar-shadow { | |||
display: none; | |||
} | |||
.open-menu a { | |||
position: fixed; | |||
top: 0.5em; | |||
left: 0.5em; | |||
z-index: 15; | |||
font-family: 'Nanum Gothic', san-serif; | |||
font-size: 30px; | |||
font-weight: 700; | |||
width: 30px; | |||
height: 30px; | |||
line-height: 0.9em; | |||
text-align: center; | |||
border: 0.2em solid #888 !important; | |||
background-color: #fff !important; | |||
border-radius: 3em; | |||
color: #888 !important; | |||
} | |||
.open-menu a:hover { | |||
text-decoration: none !important; | |||
box-shadow: 0px 0px 20px 3px rgba(153,153,153,1); | |||
} | |||
#main-content { | |||
max-width: 90%; | |||
margin: 0 5%; | |||
padding: 0; | |||
transition: 0.5s ease-in-out 0.1s; | |||
} | |||
#side-bar { | |||
display: block; | |||
position: fixed; | |||
top: 0; | |||
left: -25em; | |||
width: 17em; | |||
height: 100%; | |||
background-color: rgb(184, 134, 134); | |||
overflow-y: auto; | |||
z-index: 10; | |||
padding: 1em 1em 0 1em; | |||
transition: left 0.5s ease-in-out 0.1s; | |||
} | |||
#side-bar:after { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
width: 0; | |||
height: 100%; | |||
background-color: rgba(0, 0, 0, 0.2); | |||
} | |||
#side-bar:target { | |||
display: block; | |||
left: 0; | |||
width: 17em; | |||
margin: 0; | |||
border: 1px solid #dedede; | |||
z-index: 10; | |||
} | |||
#side-bar:target + #main-content { | |||
left: 0; | |||
} | |||
#side-bar:target .close-menu { | |||
display: block; | |||
position: fixed; | |||
width: 100%; | |||
height: 100%; | |||
top: 0; | |||
left: 0; | |||
background: rgba(0,0,0,0.3) 1px 1px repeat; | |||
z-index: -1; | |||
} | |||
#main-content { | |||
padding-left: 7em; | |||
padding-right: 7em; | |||
} | |||
#side-bar { | |||
background-color: transparent; | |||
} | |||
.close-menu { | |||
margin-left: 19em; | |||
opacity: 0; | |||
} | |||
} | |||
2023年11月2日 (四) 16:05的版本
@media (min-width: 767px) {
.mobile-top-bar {
display: block;
padding: 0;
margin: auto 0px !important;
}
.mobile-top-bar li {
display: none;
padding: 0;
}
.open-menu, .close-menu {
display: block;
}
.page-history tbody tr td:last-child {
width: 35%;
}
.owindow {
min-width: 80%;
max-width: 99%;
}
.modal-body .table, .modal-body .table ~ div {
float: left;
}
.owindow .button-bar {
float: right;
}
.owindow div .btn-primary {
width: 100%;
float: left;
}
.owindow div .btn-primary ~ div {
width: 100%;
}
.yui-navset {
z-index: 1;
}
#navi-bar, #navi-bar-shadow {
display: none;
}
.open-menu a {
position: fixed;
top: 0.5em;
left: 0.5em;
z-index: 15;
font-family: 'Nanum Gothic', san-serif;
font-size: 30px;
font-weight: 700;
width: 30px;
height: 30px;
line-height: 0.9em;
text-align: center;
border: 0.2em solid #888 !important;
background-color: #fff !important;
border-radius: 3em;
color: #888 !important;
}
.open-menu a:hover {
text-decoration: none !important;
box-shadow: 0px 0px 20px 3px rgba(153,153,153,1);
}
#main-content {
max-width: 90%;
margin: 0 5%;
padding: 0;
transition: 0.5s ease-in-out 0.1s;
}
#side-bar {
display: block;
position: fixed;
top: 0;
left: -25em;
width: 17em;
height: 100%;
background-color: rgb(184, 134, 134);
overflow-y: auto;
z-index: 10;
padding: 1em 1em 0 1em;
transition: left 0.5s ease-in-out 0.1s;
}
#side-bar:after {
content: "";
position: absolute;
top: 0;
width: 0;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
}
#side-bar:target {
display: block;
left: 0;
width: 17em;
margin: 0;
border: 1px solid #dedede;
z-index: 10;
}
#side-bar:target + #main-content {
left: 0;
}
#side-bar:target .close-menu {
display: block;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(0,0,0,0.3) 1px 1px repeat;
z-index: -1;
}
#main-content {
padding-left: 7em;
padding-right: 7em;
}
#side-bar {
background-color: transparent;
}
.close-menu {
margin-left: 19em;
opacity: 0;
}
}