moodle-expcontent/css/expcontent.css
2022-09-07 14:04:43 +00:00

98 lines
1.3 KiB
CSS

ul {
list-style-type: none;
height: 52px;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
flex: 0 0 auto;
pointer-events: none;
}
li {
height: auto;
position: absolute;
font-family: "sans-serif";
box-sizing: border-box;
}
li.logo {
left: 0;
margin-left: 1em;
margin-right: 1em;
padding-top: 6px;
padding-bottom: 6px;
height: 52px;
box-sizing: border-box;
}
li.title {
position: relative;
width: 100%;
padding-left: 72px;
padding-right: 52px;
height: 52px;
}
li.title .container {
position:relative;
height:52px;
}
li.title .text {
position: absolute;
top: 50%;
transform: translateY(-50%);
margin-top: auto;
margin-bottom: auto;
}
li.right {
top: 0;
right: 0;
margin: 4px;
pointer-events: all;
}
li.logo img {
display: block;
height: 100%;
width: auto;
height: 40px;
}
li a,.text {
display: block;
color: white;
text-decoration: none;
font-family: sans-serif;
}
li a {
padding: 14px 16px;
}
li a.hover:hover {
background-color: #111;
}
body {
display: flex;
flex-flow: column;
margin: 0;
}
/* prevent overscroll */
html,body {
position: fixed;
overflow: hidden;
width: 100vw;
height: 100vh;
}
iframe {
flex: 1 1 auto;
border: 0;
}