mirror of
https://github.com/manilarome/the-glorious-startpage.git
synced 2025-01-08 06:18:54 +01:00
add centered box
This commit is contained in:
parent
a11a2acc8a
commit
5b0e897407
13
css/centered-box.css
Normal file
13
css/centered-box.css
Normal file
@ -0,0 +1,13 @@
|
||||
.centeredBar {
|
||||
background: #ff00ff;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border: none;
|
||||
pointer-events: none;
|
||||
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
@import url('clock.css');
|
||||
@import url('dock.css');
|
||||
@import url('dock-buttons.css');
|
||||
@import url('centered-box.css');
|
||||
|
||||
:root {
|
||||
/* Colors */
|
||||
|
@ -46,6 +46,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='centeredBar' id='centeredBox'>
|
||||
<div id='profileImageContainer'>
|
||||
<div id='profile'></div>
|
||||
</div>
|
||||
<input type="text" id="searchBox" autocomplete="off" autofocus="off" placeholder="Type to search"/>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="js/body-background-set.js"></script>
|
||||
<script src="js/clock.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user