CSS Adjustments

This commit is contained in:
Fred Boniface 2022-10-19 14:15:38 +01:00
parent 145d3499c3
commit d0a0575406
3 changed files with 18 additions and 18 deletions

View File

@ -11,8 +11,9 @@
<title>Home</title> <title>Home</title>
</head> </head>
<body> <body>
<div class="header-image-home"> <div id="header_image_home">
<p hidden>An empty div needs to contain something</p> <div id="page_title">
<h1>Page Title</h1>
</div> </div>
<div id="menubar"> <div id="menubar">
<script src="/js/navbar.js"></script> <script src="/js/navbar.js"></script>
@ -29,8 +30,8 @@
</a> </a>
</div> </div>
<div id="menubar_hamburger"> <div id="menubar_hamburger">
<button id="sidebar_open_short" onclick="sidebarOpen()">&#9776;</button> <button class="sidebar_control" id="sidebar_open_short" onclick="sidebarOpen()">&#9776;</button>
<button id="sidebar_close_short" onclick="sidebarClose()">&times;</button> <button class="sidebar_control" id="sidebar_close_short" onclick="sidebarClose()">&times;</button>
</div> </div>
</div> </div>
<div id="sidebar"> <div id="sidebar">
@ -49,7 +50,7 @@
SOCIAL_LINKS SOCIAL_LINKS
</div> </div>
</div> </div>
<div class="content"> <div id="content">
<p>Lorem Ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <p>Lorem Ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<br> <br>
<p>Lorem Ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <p>Lorem Ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

View File

@ -20,22 +20,21 @@
padding: 5px; padding: 5px;
} }
#sidebar_open_short { .sidebar_control {
display: block;
font-size: larger;
background-color: transparent; background-color: transparent;
color: azure; color: azure;
border: none; border: none;
border-radius: 2px; font-family: sans-serif;
font-size: larger;
}
#sidebar_open_short {
display: block;
} }
#sidebar_close_short { #sidebar_close_short {
display: none; display: none;
font-size: larger; font-size: x-large;
background-color: transparent;
color: azure;
border: none;
border-radius: 2px;
} }
#sidebar { #sidebar {

View File

@ -8,7 +8,7 @@ body {
margin: auto; margin: auto;
} }
.header-image-home { #header_image_home {
background-color: rgb(29,49,49); background-color: rgb(29,49,49);
background-image: url("https://via.placeholder.com/1200x400.webp"); background-image: url("https://via.placeholder.com/1200x400.webp");
background-repeat: no-repeat; background-repeat: no-repeat;
@ -21,7 +21,7 @@ body {
top: -190px; top: -190px;
} }
.page-title { /* This needs to be bottom center of header-image-home/header-image */ #page_title { /* This needs to be bottom center of header-image-home/header-image */
font-family: sans-serif; font-family: sans-serif;
font-size: 4vw; font-size: 4vw;
text-align: center; text-align: center;
@ -31,7 +31,7 @@ body {
color: azure; color: azure;
} }
.content { #content {
margin: auto; margin: auto;
margin-top: 10px; margin-top: 10px;
width: 90%; width: 90%;