User:Aesulus/Membership box.css: Difference between revisions

From Hololive Fan Wiki
Content added Content deleted
(rename class; move some styling from template)
No edit summary
Line 1: Line 1:
.membership-table {
background-color: #f8f9fa;
}

.membership-icons {
.membership-icons {
display: flex;
display: flex;
Line 15: Line 19:
}
}


/* Constrains height and width to 32x32px
.membership-icons img {
.membership-icons img {
width: 32px;
width: 32px;
height: 32px;
height: 32px;
}
}
*/


.membership-table {
.membership-table {
Line 27: Line 33:
}
}


.membership-table >* {
.membership-table .membership-header {
margin-left: -1px;
margin-left: -1px;
margin-top: -1px;
margin-top: -1px;
Line 34: Line 40:


.membership-header {
.membership-header {
background: #ededed;
text-align: center;
text-align: center;
font-weight: bold;
font-weight: bold;
Line 41: Line 48:


.membership-badges-section {
.membership-badges-section {
flex: 1 300px
flex: 1 300px
}
}


Line 49: Line 56:


.membership-perks-section {
.membership-perks-section {
flex: 2 auto;
flex: 2 auto;
}
}

Revision as of 07:56, 4 September 2022

.membership-table {
  background-color: #f8f9fa;
}

.membership-icons {
	display: flex;
	flex-flow: row wrap;
	padding: 0.5em 1em;
}

.membership-icons ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.membership-icons li {
	display: inline;
}

/* Constrains height and width to 32x32px
.membership-icons img {
	width: 32px;
	height: 32px;
}
*/

.membership-table {
	display: flex;
	flex-flow: row wrap;
	padding-left: 1px;
	padding-top: 1px;
}

.membership-table .membership-header {
  margin-left: -1px;
  margin-top: -1px;
  border: 1px solid #a2a9b1;
}

.membership-header {
  background: #ededed;
	text-align: center;
	font-weight: bold;
	padding: 0.2em 0;
	flex: 100%
}

.membership-badges-section {
	flex: 1 300px
}

.membership-icon-label {
	flex: 100%;
}

.membership-perks-section {
	flex: 2 auto;
}