More actions
Content deleted Content added
Luke changed the content model of the page User:Dread/WeaponCard.css from "CSS" to "Sanitized CSS" |
.card width changed to 390px |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
.card { |
.card { |
||
⚫ | |||
width: |
width: 390px; |
||
height: max-content; |
height: max-content; |
||
background: #FEFFF5; |
background: #FEFFF5; |
||
Line 25: | Line 26: | ||
padding: 2px 8px; |
padding: 2px 8px; |
||
font-size: 12px; |
font-size: 12px; |
||
font-weight: |
font-weight: 500; |
||
} |
} |
||
Line 54: | Line 55: | ||
font-size: 16px; |
font-size: 16px; |
||
font-weight: 500; |
font-weight: 500; |
||
margin-bottom: 20px; |
|||
} |
} |
||
Line 60: | Line 60: | ||
display: flex; |
display: flex; |
||
justify-content: space-between; |
justify-content: space-between; |
||
margin-bottom: |
margin-bottom: 10px; |
||
} |
} |
||
Line 67: | Line 67: | ||
grid-template-columns: 1fr 1fr; |
grid-template-columns: 1fr 1fr; |
||
gap: 10px 10px; |
gap: 10px 10px; |
||
margin-bottom: 20px; |
|||
} |
} |
||
.bar-item label { |
.bar-item label { |
||
font-size: |
font-size: 16px; |
||
font-weight: 500; |
font-weight: 500; |
||
display: block; |
|||
margin-bottom: 4px; |
|||
} |
|||
.bar { |
|||
background: #ddd; |
|||
height: 8px; |
|||
border-radius: 4px; |
|||
overflow: hidden; |
|||
} |
} |
||
Line 87: | Line 77: | ||
background: #111; |
background: #111; |
||
height: 100%; |
height: 100%; |
||
} |
|||
.perks { |
|||
list-style: none; |
|||
padding-left: 0; |
|||
font-size: 14px; |
|||
font-weight: 600; |
|||
margin-bottom: 15px; |
|||
} |
|||
.perks li::after { |
|||
content: "▲"; |
|||
⚫ | |||
} |
} |
||
Latest revision as of 17:19, 15 May 2025
.main-wrapper {
font-family: barlow;
padding: 20px;
}
h2 {
margin: 5px 0;
}
.card {
color: #151515;
width: 390px;
height: max-content;
background: #FEFFF5;
padding: 20px;
box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.tags {
margin-bottom: 10px;
}
.tag {
background-color: #6fef93;
color: #000;
padding: 2px 8px;
font-size: 12px;
font-weight: 500;
}
.description {
color: #929292;
font-size: 20px;
font-weight: 500;
margin-bottom: 10px;
}
.warning {
background: #DEDFD8;
color: #27282C;
padding: 14px;
font-size: 14px;
font-weight: 600;
border-radius: 6px;
margin-bottom: 15px;
}
.divider {
border: none;
border-top: 1px solid #ccc;
margin: 8px 0;
}
.stats {
font-size: 16px;
font-weight: 500;
}
.stats div {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.bars {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px 10px;
}
.bar-item label {
font-size: 16px;
font-weight: 500;
}
.bar div {
background: #111;
height: 100%;
}
.footer {
display: flex;
justify-content: space-around;
font-weight: bold;
font-size: 14px;
}