mirror of
https://github.com/moodle/moodle.git
synced 2025-03-10 18:59:55 +01:00
147 lines
3.2 KiB
CSS
147 lines
3.2 KiB
CSS
@media screen and (max-width: 767px) {
|
|
/* Custom Menu
|
|
-------------------------- */
|
|
|
|
#custommenu ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
overflow: hidden;
|
|
}
|
|
#custommenu li {
|
|
margin: 0; /** Opera hack **/
|
|
}
|
|
#custommenu a {
|
|
display: block;
|
|
color: #fff;
|
|
background-color: #888;
|
|
width: 98%;
|
|
padding: 5px 10px;
|
|
text-decoration: none;
|
|
border-top: 1px solid #777;
|
|
border-bottom: 1px solid #999;
|
|
font-weight: bold;
|
|
}
|
|
#custommenu li li a {
|
|
display: block;
|
|
color: #fff;
|
|
background-color: #34637f;
|
|
width: 98%;
|
|
padding: 5px 20px;
|
|
text-decoration: none;
|
|
border-top: 1px solid #477C9B;
|
|
border-bottom: 1px solid #295770;
|
|
font-weight: normal;
|
|
}
|
|
#custommenu li li li a {
|
|
display: block;
|
|
color: #fff;
|
|
background-color: #34637f;
|
|
width: 98%;
|
|
padding: 5px 20px;
|
|
text-decoration: none;
|
|
border-top: 1px solid #477C9B;
|
|
border-bottom: 1px solid #295770;
|
|
font-weight: normal;
|
|
}
|
|
#custommenu a:hover {
|
|
background-color: #fff;
|
|
color: #036;
|
|
}
|
|
}
|
|
|
|
@media screen and (orientation:portrait) and (min-width: 768px) and (max-width: 799px) {
|
|
/* Page Layout
|
|
-------------------------*/
|
|
body.has_dock {
|
|
margin-left: 3%;
|
|
width: 97%;
|
|
}
|
|
#page-wrapper {
|
|
width: 94%;
|
|
}
|
|
#region-main .region-content {
|
|
padding: 0 5px;
|
|
}
|
|
#region-main-box {
|
|
right: 0%;
|
|
}
|
|
#region-pre-box {
|
|
right: 77%;
|
|
}
|
|
#region-main {
|
|
left: 100%;
|
|
width: 77%;
|
|
}
|
|
#region-pre {
|
|
left: 0;
|
|
width: 23%;
|
|
}
|
|
#region-post {
|
|
left: 0;
|
|
width: 23%;
|
|
}
|
|
#region-post .block .header {
|
|
background:url([[pix:theme|images/light3]]) 0 -136px repeat-x;
|
|
border-bottom: 1px solid #c3d9e1;
|
|
color: #50646d;
|
|
}
|
|
}
|
|
@media screen and (max-width:767px) {
|
|
/* Page Layout
|
|
-------------------------*/
|
|
body.has_dock {
|
|
margin-left: 3%;
|
|
width: 97%;
|
|
}
|
|
#dock {
|
|
width: 30px;
|
|
}
|
|
#page-wrapper {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
#region-main-box,
|
|
.side-pre-only #region-main-box,
|
|
.side-post-only #region-main-box {
|
|
right: 0;
|
|
}
|
|
#region-pre-box,
|
|
.side-pre-only #region-pre-box,
|
|
.side-post-only #region-pre-box {
|
|
right: 0;
|
|
}
|
|
#region-main,
|
|
.side-pre-only #region-main,
|
|
.side-post-only #region-main {
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
#region-pre,
|
|
.side-pre-only #region-pre,
|
|
.side-post-only #region-pre {
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
#region-post,
|
|
.side-pre-only #region-post,
|
|
.side-post-only #region-post {
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
#region-post .block .header {
|
|
background:url([[pix:theme|images/light3]]) 0 -136px repeat-x;
|
|
border-bottom: 1px solid #c3d9e1;
|
|
color:#50646d;
|
|
}
|
|
#page-header {
|
|
height: 110px;
|
|
}
|
|
a.logo {
|
|
background-size: 60%;
|
|
overflow: hidden;
|
|
}
|
|
.headermenu {
|
|
padding-top: 0;
|
|
}
|
|
} |