mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Many small adjustments
- Adjust header width for scrollbar presence - Added new header assets for grass and dirt - Adjusted styles for hosted and tracker - Expand header to implement templating system - Much more I have forgotten
This commit is contained in:
46
WebHostLib/static/styles/header/baseHeader.css
Normal file
46
WebHostLib/static/styles/header/baseHeader.css
Normal file
@@ -0,0 +1,46 @@
|
||||
html{
|
||||
padding-top: 110px;
|
||||
}
|
||||
|
||||
#base-header{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
background-size: auto 90px;
|
||||
width: calc(100% - 20px);
|
||||
height: 90px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-family: HyliaSerif, sans-serif;
|
||||
padding: 10px;
|
||||
line-height: 2rem;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#base-header #base-header-left{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#base-header #base-header-left a{
|
||||
margin-right: 0;
|
||||
padding-right: 7px;
|
||||
}
|
||||
|
||||
#base-header #site-title{
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
#base-header #site-title img{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
#base-header a{
|
||||
color: #2f6b83;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
margin-right: 1.2rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
3
WebHostLib/static/styles/header/dirtHeader.css
Normal file
3
WebHostLib/static/styles/header/dirtHeader.css
Normal file
@@ -0,0 +1,3 @@
|
||||
#base-header{
|
||||
background: url('../../static/backgrounds/header/dirt-header.png') repeat-x;
|
||||
}
|
||||
3
WebHostLib/static/styles/header/grassHeader.css
Normal file
3
WebHostLib/static/styles/header/grassHeader.css
Normal file
@@ -0,0 +1,3 @@
|
||||
#base-header{
|
||||
background: url('../../static/backgrounds/header/grass-header.png') repeat-x;
|
||||
}
|
||||
3
WebHostLib/static/styles/header/oceanHeader.css
Normal file
3
WebHostLib/static/styles/header/oceanHeader.css
Normal file
@@ -0,0 +1,3 @@
|
||||
#base-header{
|
||||
background: url('../../static/backgrounds/header/ocean-header.png') repeat-x;
|
||||
}
|
||||
Reference in New Issue
Block a user