Fix Mod page styling

This commit is contained in:
Jai A
2020-05-19 22:39:05 -07:00
parent 251f1941a9
commit 1b1c15694a
7 changed files with 536 additions and 143 deletions

View File

@@ -1,9 +1,59 @@
.main-content {
width: 80%;
margin: 30px 20px 0 auto;
width: 45%;
display: flex;
flex-direction: column;
}
.mod-navigation {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 20px;
}
.mod-navigation p {
transform:scale(1,2);
}
.navigation-pointer {
color: gray;
background-color: #dfdfdf;
padding: 10px;
border-radius: 5px;
text-decoration: none;
margin-right: 10px;
font-weight: bold;
}
.navigation-text {
color: #0b75d8;
background-color: #c9def2;
padding: 10px;
border-radius: 5px;
text-decoration: none;
margin: 0 10px;
font-weight: bold;
}
.navigation-follow {
display: flex;
flex-direction: row;
align-items: center;
color: white;
background-color: #0b75d8;
text-decoration: none;
font-weight: bold;
padding: 10px;
margin-left: auto;
border-radius: 5px;
}
.navigation-follow img {
height: 15px;
margin-right: 10px;
}
.mod-header {
display: flex;
flex-direction: row;
@@ -12,8 +62,7 @@
width: 100%;
height: 100px;
background-color: white;
margin: 0;
border-bottom: 1px solid darkgrey;
margin: 0 0 20px 0;
}
.mod-icon {
@@ -25,86 +74,84 @@
.mod-title {
display: flex;
flex-direction: column;
margin: 15px 0;
}
.mod-title-text {
margin: 0;
padding: 0;
}
.mod-buttons {
display: flex;
flex-direction: column;
margin: 10px 30px 10px auto;
.mod-title h2 {
font-size: 24px;
}
.mod-button {
margin: 5px 0;
display: flex;
flex-direction: row;
text-decoration: none;
width: 120px;
height: 30px;
}
.mod-button img {
margin: 5px 10px;
width: 20px;
}
.mod-button p {
margin: auto;
font-weight: bold;
}
.download-button {
background-color: #69E781;
color: white;
}
.follow-button {
background-color: red;
color: white;
.mod-title p {
font-size: 18px;
}
.mod-bar {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
background-color: white;
border-bottom: 1px solid darkgrey;
}
.mod-bar a {
margin: 5px 10px;
margin: 5px 10px 0 0;
padding: 5px;
color: gray;
background-color: #fefefe;
border-radius: 5px 5px 0 0;
border: 1px solid darkgrey;
border-bottom: none;
}
.mod-bar-active {
background-color: white !important;
}
.mod-description {
width: 100%;
background-color: white;
border-radius: 0 5px 5px 5px;
border: 1px solid darkgrey;
border-top: none;
}
.mod-description div {
max-width: 1000px;
margin: 0 auto;
text-align: center;
padding: 10px;
}
.mod-description img {
max-width: 1000px;
}
.sidebar {
display: flex;
flex-direction: column;
align-items: center;
margin: 30px auto 0 0;
width: 20%;
}
.search-bar {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
margin-top: 5px;
margin-bottom: 25px;
padding: 10px 0;
}
.mod-sidebar {
display: flex;
flex-direction: column;
align-items: center;
border-left: 1px solid darkgrey;
width: 20%;
min-height: 100vh;
width: 100%;
height: auto !important;
background-color: white;
}
@@ -186,7 +233,7 @@
}
.sidebar-line {
height: 2px;
height: 1px;
width: 80%;
background-color: darkgrey;
margin: 0 auto;