Modrinth/static/css/mod.css
2020-05-18 22:35:03 -07:00

194 lines
2.8 KiB
CSS

.main-content {
width: 80%;
display: flex;
flex-direction: column;
}
.mod-header {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
height: 100px;
background-color: white;
margin: 0;
border-bottom: 1px solid darkgrey;
}
.mod-icon {
width: 70px;
height: 70px;
margin: 15px 10px 15px 25px;
}
.mod-title {
display: flex;
flex-direction: column;
}
.mod-title-text {
margin: 0;
}
.mod-buttons {
display: flex;
flex-direction: column;
margin: 10px 30px 10px auto;
}
.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-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;
color: gray;
}
.mod-description {
width: 100%;
background-color: white;
border: 1px solid darkgrey;
border-top: none;
}
.mod-description div {
max-width: 1000px;
margin: 0 auto;
text-align: center;
}
.mod-description img {
max-width: 1000px;
}
.mod-sidebar {
display: flex;
flex-direction: column;
align-items: center;
border-left: 1px solid darkgrey;
width: 20%;
min-height: 100vh;
background-color: white;
}
.sidebar-entry {
margin: 30px auto;
text-align: center;
display: flex;
flex-direction: column;
}
.sidebar-info {
display: flex;
flex-direction: row;
align-items: center;
margin: 0 auto;
}
.mod-info-entry {
display: flex;
flex-direction: row;
margin: 5px;
align-items: center;
}
.mod-info-entry img {
margin: 0 5px;
height: 15px;
}
.mod-info-entry p {
margin: 0 auto;
}
.sidebar-img {
width: 20px !important;
height: 20px !important;
padding: 5px;
}
.donation-info img {
height: 50px;
object-fit: cover;
width: 200px;
}
.categories {
display: flex;
flex-direction: row;
}
.categories img {
width: 40px;
margin: 0 10px;
}
.contributor-card {
display: flex;
flex-direction: row;
height: 50px;
width: 200px;
margin: 5px 0;
}
.contributor-card img {
width: 50px;
height: 50px;
margin-right: 10px;
}
.contributor-card-text {
display: flex;
flex-direction: column;
margin: auto;
}
.contributor-card-text a {
text-decoration: none;
}
.sidebar-line {
height: 2px;
width: 80%;
background-color: darkgrey;
margin: 0 auto;
}