Continued fixing CSS

This commit is contained in:
unsettledgames 2021-06-24 15:10:08 +02:00
parent 16e5d6187f
commit d8369aa9d7
2 changed files with 50 additions and 21 deletions

View File

@ -1547,18 +1547,17 @@ div#pb-options {
} }
} }
/********FEATURES LOG*************/ /********SPLASH PAGE*************/
#splash { #splash {
width:100% !important; width:100% !important;
height:100% !important; height:100%!important;
background-color: #232125 !important; background-color: #232125 !important;
opacity: 1 !important; opacity: 1 !important;
overflow-y: scroll;
#splash-input { #splash-input {
width:74%; width:74%;
height:100vh !important; height:100% !important;
color:$baselink; color:$baselink;
#splash-menu { #splash-menu {
@ -1612,13 +1611,41 @@ div#pb-options {
} }
#sp-quickstart-container { #sp-quickstart-container {
height:100%;
width:75%; width:75%;
float:right; float:right;
position:relative; position:relative;
padding:40px;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
#sp-quickstart {
overflow-y:scroll;
height:100%;
// Fancy scrollbar
&::-webkit-scrollbar {
background: #232125;
width: 0.5em;
}
&::-webkit-scrollbar-track {
margin-top: -0.125em;
width: 0.5em;
}
&::-webkit-scrollbar-thumb {
background: #332f35;
border-radius: 0.25em;
border: solid 0.125em #232125; //same color as scrollbar back to fake padding
}
&::-webkit-scrollbar-corner {
background: #232125;
}
} }
#sp-quickstart-title { #sp-quickstart-title {
padding:20px;
font-size:27px; font-size:27px;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
@ -1671,6 +1698,11 @@ div#pb-options {
position:relative; position:relative;
background-color:$basecolor; background-color:$basecolor;
#palette-button-splash {
left:5%;
width:90%;
}
.sp-np-entry { .sp-np-entry {
width:100%; width:100%;
text-align:center; text-align:center;
@ -1707,13 +1739,14 @@ div#pb-options {
display:inline-block; display:inline-block;
padding: 0 0 0 0; padding: 0 0 0 0;
text-align:left; text-align:left;
width:90%;
div { div {
border:none; border:none;
padding:none; padding:none;
margin:none; margin:none;
background-color:transparent; background-color:transparent;
width:100px; width:50%;
float:left; float:left;
text-align: center; text-align: center;
height:25px; height:25px;
@ -1727,10 +1760,6 @@ div#pb-options {
} }
} }
.bm-right {
border-left:3px solid $basetextweak;
}
.sp-interface-selected { .sp-interface-selected {
background-color: $basetextweak; background-color: $basetextweak;
} }
@ -1739,23 +1768,23 @@ div#pb-options {
} }
#splash-news { #splash-news {
position:relative; width:23%;
width:26%; height:100%;
height:95%;
background-color: #232125 !important; background-color: #232125 !important;
float: right;
} }
#latest-update { #latest-update {
float: right; width:100%;
width:23%;
font-size:15px; font-size:15px;
height:90%; height:90%;
overflow-y: scroll;
overflow-x: scroll;
line-height: 1.5; line-height: 1.5;
position:relative; position:relative;
top:20px; top:20px;
overflow-y:scroll;
box-sizing: border-box;
img { img {
width:100%; width:100%;
} }

View File

@ -271,7 +271,7 @@
<!-- Splash page --> <!-- Splash page -->
<div id = "splash"> <div id = "splash">
<div class="splash-news"> <div id="splash-news">
<div id="latest-update"> <div id="latest-update">
<h1>Latest updates</h1> <h1>Latest updates</h1>
</div> </div>