[TASK] Move wallpaper to a single, fix-positioned div.
This commit is contained in:
parent
7aa90a6bcb
commit
3a14e8e860
|
@ -13,10 +13,10 @@
|
|||
<script type="text/javascript" src="jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wallpaper"></div>
|
||||
<div id="wrap-all">
|
||||
<div id="wrap-nonfooter-content">
|
||||
<div id="nonfooter-content-container">
|
||||
|
||||
<div id="headerbar">
|
||||
<ol class="vertical-list">
|
||||
<li><span>Willkommen zum Dashboard-Test!</span></li>
|
||||
|
|
|
@ -92,10 +92,15 @@ h5 { font-size: 11pt; }
|
|||
color: hsla(0, 0%, 5%, 1);
|
||||
}
|
||||
|
||||
#wrap-all {
|
||||
overflow: auto; /* without this, the background gets messed up when scrolling down on long pages. */
|
||||
height: 100%;
|
||||
#wallpaper {
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: -999;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
background-color: hsla(0, 0%, 50%, 1);
|
||||
/* epic background image or something like that */
|
||||
background: url('img/bkg01.jpg');
|
||||
|
|
Loading…
Reference in New Issue