You've already forked AstralRinth
forked from didirus/AstralRinth
Badges + Refactoring
This commit is contained in:
49
static/css/main.css
Normal file
49
static/css/main.css
Normal file
@@ -0,0 +1,49 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600');
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
|
||||
.temp-circle-logo {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
margin-left: 20%;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: sticky;
|
||||
background-color: black;
|
||||
width: 100%;
|
||||
height: 75px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.site-header h2 {
|
||||
color: white;
|
||||
font-weight: bolder;
|
||||
padding: 0 20px 0 10px;
|
||||
}
|
||||
|
||||
.links-container {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.links-container a {
|
||||
color: white;
|
||||
padding: 0 30px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.rounded-border {
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
}
|
||||
|
||||
.gray-border {
|
||||
border: 1px solid darkgray;
|
||||
}
|
||||
@@ -1,122 +0,0 @@
|
||||
.multiselect-wrapper {
|
||||
width: 180px;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
font-size: 12px;
|
||||
font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-input {
|
||||
width: 100%;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.multiselect-wrapper label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight : 600;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-list {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
display: none;
|
||||
background-color: white;
|
||||
border: 1px solid grey;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-list.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-list > span {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-list .multiselect-checkbox {
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-list > span,
|
||||
.multiselect-wrapper .multiselect-list li {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.multiselect-wrapper .multiselect-list {
|
||||
padding: 5px;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.multiselect-wrapper ul {
|
||||
list-style: none;
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.multiselect-wrapper ul li {
|
||||
padding-right: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.multiselect-wrapper ul li.active {
|
||||
background-color: rgb(0, 102, 255);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.multiselect-wrapper ul li:hover {
|
||||
background-color: rgb(0, 102, 255);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.multiselect-input-div {
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.multiselect-input-div input{
|
||||
border: 1px solid #ababab;
|
||||
background : #fff;
|
||||
margin: 5px 0 6px 0;
|
||||
padding: 5px;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
.multiselect-count {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
background-color: lightblue;
|
||||
display: inline-block !important;
|
||||
padding: 2px 7px;
|
||||
left: -45px;
|
||||
}
|
||||
|
||||
.multiselect-wrapper.disabled .multiselect-dropdown-arrow {
|
||||
border-top: 5px solid lightgray;
|
||||
}
|
||||
|
||||
.multiselect-wrapper.disabled .multiselect-count {
|
||||
background-color: lightgray;
|
||||
}
|
||||
|
||||
.multiselect-dropdown-arrow {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-top: 5px solid black;
|
||||
position: absolute;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
display: inline-block !important;
|
||||
margin-top: 17px;
|
||||
margin-left: -42px;
|
||||
}
|
||||
|
||||
102
static/css/search.css
Normal file
102
static/css/search.css
Normal file
@@ -0,0 +1,102 @@
|
||||
.search-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.search-bar {
|
||||
margin: 0 auto;
|
||||
width: 56.25%;
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
.results {
|
||||
width: 75%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.result {
|
||||
display: flex;
|
||||
height: 100px;
|
||||
margin: 30px auto;
|
||||
padding: 5px;
|
||||
width: 75%;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.result img {
|
||||
padding: 0 10px 0 5px;
|
||||
}
|
||||
|
||||
.result-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.result-info * {
|
||||
padding: 0 5px 0 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.result-badges {
|
||||
margin: 0 1em 20px auto;
|
||||
align-self: center;
|
||||
height: 75px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.result-badge {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
height: 25px;
|
||||
margin: 2px 0;
|
||||
padding: 2px 5px;
|
||||
width: 155px;
|
||||
}
|
||||
|
||||
.result-badge img {
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
.result-badge p {
|
||||
margin: 0 auto;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.download-badge {
|
||||
background-color: limegreen;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.forge-badge {
|
||||
color: #e1a15a;
|
||||
background-color: #1e2d44;
|
||||
}
|
||||
|
||||
.fabric-badge {
|
||||
color: #585849;
|
||||
background-color: #fffdd0;
|
||||
}
|
||||
|
||||
.tech-badge {
|
||||
color: white;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.adventure-badge {
|
||||
color: white;
|
||||
background-color: saddlebrown;
|
||||
}
|
||||
|
||||
.magic-badge {
|
||||
color: white;
|
||||
background-color: rebeccapurple;
|
||||
}
|
||||
|
||||
.utility-badge {
|
||||
color: white;
|
||||
background-color: orangered;
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600');
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
|
||||
#categories_multiSelect {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.results {
|
||||
width: 75%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.result {
|
||||
display: flex;
|
||||
height: 100px;
|
||||
margin: 30px auto;
|
||||
padding: 5px;
|
||||
width: 75%;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.result img {
|
||||
padding: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.result-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.result-info * {
|
||||
padding: 0 5px 0 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rounded-border {
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
}
|
||||
|
||||
.gray-border {
|
||||
border: 1px solid darkgray;
|
||||
}
|
||||
Reference in New Issue
Block a user