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,9 +11,10 @@
<title>Home</title>
</head>
<body>
<div class="header-image-home">
<p hidden>An empty div needs to contain something</p>
</div>
<div id="header_image_home">
<div id="page_title">
<h1>Page Title</h1>
</div>
<div id="menubar">
<script src="/js/navbar.js"></script>
<div id="menubar_logo">
@ -29,8 +30,8 @@
</a>
</div>
<div id="menubar_hamburger">
<button id="sidebar_open_short" onclick="sidebarOpen()">&#9776;</button>
<button id="sidebar_close_short" onclick="sidebarClose()">&times;</button>
<button class="sidebar_control" id="sidebar_open_short" onclick="sidebarOpen()">&#9776;</button>
<button class="sidebar_control" id="sidebar_close_short" onclick="sidebarClose()">&times;</button>
</div>
</div>
<div id="sidebar">
@ -49,7 +50,7 @@
SOCIAL_LINKS
</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>
<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>

View File

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

View File

@ -8,7 +8,7 @@ body {
margin: auto;
}
.header-image-home {
#header_image_home {
background-color: rgb(29,49,49);
background-image: url("https://via.placeholder.com/1200x400.webp");
background-repeat: no-repeat;
@ -21,7 +21,7 @@ body {
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-size: 4vw;
text-align: center;
@ -31,7 +31,7 @@ body {
color: azure;
}
.content {
#content {
margin: auto;
margin-top: 10px;
width: 90%;