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:
Chris Wilson
2020-12-03 01:55:06 -05:00
parent ef14aff201
commit ccdc8cefe4
28 changed files with 118 additions and 41 deletions

View File

@@ -101,3 +101,16 @@ h5, h6{
padding-bottom: 120px;
}
.user-message{
width: 50%;
min-width: 500px;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
margin-left: auto;
margin-right: auto;
color: #000000;
border-radius: 4px;
margin-bottom: 20px;
background-color: #ffff00;
}

View File

@@ -2,11 +2,10 @@ html{
padding-top: 110px;
}
#cloud-header{
#base-header{
display: flex;
flex-direction: row;
justify-content: flex-start;
background: url('../static/backgrounds/header/cloud-header.png') repeat-x;
justify-content: space-between;
background-size: auto 90px;
width: calc(100% - 20px);
height: 90px;
@@ -19,20 +18,26 @@ html{
z-index: 9999;
}
#cloud-header #site-title{
#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;
}
#cloud-header #cloud-header-spacer{
flex-grow: 1
}
#cloud-header #site-title img{
#base-header #site-title img{
width: 40px;
height: 40px;
}
#cloud-header a{
#base-header a{
color: #2f6b83;
text-decoration: none;
cursor: pointer;

View File

@@ -0,0 +1,3 @@
#base-header{
background: url('../../static/backgrounds/header/dirt-header.png') repeat-x;
}

View File

@@ -0,0 +1,3 @@
#base-header{
background: url('../../static/backgrounds/header/grass-header.png') repeat-x;
}

View File

@@ -0,0 +1,3 @@
#base-header{
background: url('../../static/backgrounds/header/ocean-header.png') repeat-x;
}

View File

@@ -26,9 +26,15 @@ html{
line-height: 20px;
}
#tracker-header-bar .info{
color: #ffffff;
}
#search{
border: 1px solid #000000;
border-radius: 3px;
padding: 3px;
width: 200px;
height: 20px;
margin-bottom: 0.5rem;
margin-right: 1rem;
}