Rename content-wrapper and sidebar identifiers

This commit is contained in:
Blade of Darkness 2022-05-01 12:40:24 +02:00
parent 796246a7db
commit 50c9387ea9
2 changed files with 7 additions and 7 deletions

View File

@ -17,8 +17,8 @@ require 'php/procedures.php'; # interact with variables in the execution environ
<body>
<div id="body-wrapper">
<div id="header"><?php require 'divs-mw/header.php' ?></div>
<div id="mw-content-wrapper"><?php echo $mightycms['m_content'] ?></div>
<div id="mw-sidebar"><?php require 'divs-mw/sidebar.php' ?></div>
<div id="content-wrapper"><?php echo $mightycms['m_content'] ?></div>
<div id="sidebar"><?php require 'divs-mw/sidebar.php' ?></div>
</div>
<div id="footer">
<?php require 'divs-mw/footer.php' ?>

View File

@ -28,14 +28,14 @@ LI.header{display:inline; padding:12px}
ul{margin:0; padding:0}
/* Main-col */
#mw-content-wrapper
#content-wrapper
{
float:left;
width:65%;
white-space: pre-wrap;
margin: 14px 0 0 0;
}
#mw-sidebar
#sidebar
{
float:right;
width:30%;
@ -45,7 +45,7 @@ ul{margin:0; padding:0}
/* Text */
body, a{color:#de3247; text-shadow: 0 0 2px #fff, 0 1px 1px #000}
#mw-content-wrapper a, .highlight{text-shadow: 1px 1px 2px #fff}
#content-wrapper a, .highlight{text-shadow: 1px 1px 2px #fff}
/* Anchor */
a{text-decoration:none}
@ -57,11 +57,11 @@ a:hover{color:#fff}
/* Media Queries */
@media(max-width: 768px)
{
DIV.branding, UL.header, #mw-content-wrapper, #mw-sidebar
DIV.branding, UL.header, #content-wrapper, #sidebar
{float:none; text-align:center; width:100%}
UL.header{margin-top: 0}
#header{height:100%}
#body-wrapper, #footer{width:95%}
}
/* #header, #mw-content-wrapper, #mw-sidebar, #footer{background-color:#00141A} */
/* #header, #content-wrapper, #sidebar, #footer{background-color:#00141A} */