CSS Adjustments
This commit is contained in:
parent
145d3499c3
commit
d0a0575406
@ -11,8 +11,9 @@
|
||||
<title>Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-image-home">
|
||||
<p hidden>An empty div needs to contain something</p>
|
||||
<div id="header_image_home">
|
||||
<div id="page_title">
|
||||
<h1>Page Title</h1>
|
||||
</div>
|
||||
<div id="menubar">
|
||||
<script src="/js/navbar.js"></script>
|
||||
@ -29,8 +30,8 @@
|
||||
</a>
|
||||
</div>
|
||||
<div id="menubar_hamburger">
|
||||
<button id="sidebar_open_short" onclick="sidebarOpen()">☰</button>
|
||||
<button id="sidebar_close_short" onclick="sidebarClose()">×</button>
|
||||
<button class="sidebar_control" id="sidebar_open_short" onclick="sidebarOpen()">☰</button>
|
||||
<button class="sidebar_control" id="sidebar_close_short" onclick="sidebarClose()">×</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>
|
||||
|
@ -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 {
|
||||
|
@ -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%;
|
||||
|
Loading…
Reference in New Issue
Block a user