Portal:Soysphere/styles.css
From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
/* Navigation Tabs */
.portal-tabs {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
transform: rotateX(180deg);
gap: 10px;
background: linear-gradient(0deg, #9988ee, #9988ee) top / 100% 1px no-repeat;
}
.portal-tab {
flex: 0 0 200px;
background: white;
height: 40px;
scroll-snap-align: start;
transform: rotateX(180deg);
border: 1px solid #9988ee;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 0 8px;
}
.portal-tab.selected,
.portal-tab.active {
border-bottom: 0px;
}
/* Introduction Portal */
.portal-template.introduction {
background: white;
border: 1px solid #9988ee;
border-top: 0px;
box-sizing: border-box;
padding: 8px;
}
.portal-template.introduction .portal-content {
background-color: transparent;
border: none;
}
.portal-template.introduction .portal-header {
background: #eef2ff;
border: 1px solid #9988ee;
}
.portal-template.introduction .portal-card {
color: #000000;
background-color: #ffffff;
border: 1px solid #9988ee;
padding: 0px;
}
.portal-template.introduction .portal-card-heading {
color: #af0a0f;
background: #eef2ff;
border-bottom: 1px solid #b7c5d9;
}
.portal-template.introduction .portal-card-heading-text {
color: #af0a0f;
font-weight: bold;
}
.portal-template.introduction .portal-tile {
background-color: #ffffff;
border: 1px solid #b7c5d9;
}
.portal-template.introduction .portal-card-body,
.portal-template.introduction .portal-card-footer {
background-color: #ffffff;
padding: 11px;
}
@media (max-width: 600px) {
.portal-template.introduction .portal-header-image-end {
display: none;
}
}
/* Soysphere Portal */
.portal-template.soysphere {
position: relative;
overflow: hidden;
isolation: isolate;
background-color: rgba(238, 242, 255, 0.5);
border: 1px solid #9988ee;
box-sizing: border-box;
padding: 8px;
}
.portal-template.soysphere::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
z-index: -1;
background-image: url(https://soyjakwiki.org/images/4/4f/Soysphere_circuits.png);
background-size: 520px;
background-repeat: repeat;
opacity: 0.5;
}
.portal-template.soysphere .portal-content {
background-color: transparent;
border: none;
}
.portal-template.soysphere .portal-header {
background: #eef2ff;
border: 1px solid #9988ee;
padding: 10px;
display: flex;
margin-bottom: 7px;
align-items: center;
justify-content: space-between;
}
.portal-template.soysphere .portal-header-text {
flex-grow: 1;
text-align: center;
padding: 10px;
}
.portal-template.soysphere .portal-title {
color: #af0a0f;
font-weight: bold;
font-size: 220%;
text-shadow: 1px 1px #49040e;
line-height: 1em;
}
.portal-template.soysphere .portal-header-image-end,
.portal-template.soysphere .portal-header-image-end figure,
.portal-template.soysphere .portal-header-image-end picture,
.portal-template.soysphere .portal-header-image-end img {
flex-shrink: 0;
margin: 0 !important;
padding: 0 !important;
display: block;
}
.portal-template.soysphere .portal-card {
color: #000000;
background-color: #ffffff;
border: 1px solid #9988ee;
padding: 0px;
}
.portal-template.soysphere .portal-card-heading {
color: #af0a0f;
background: #eef2ff;
border-bottom: 1px solid #b7c5d9;
}
.portal-template.soysphere .portal-card-heading-text {
color: #af0a0f;
font-weight: bold;
}
.portal-template.soysphere .portal-tile {
background-color: #ffffff;
border: 1px solid #b7c5d9;
}
.portal-template.soysphere .portal-card-body,
.portal-template.soysphere .portal-card-footer {
background-color: #ffffff;
padding: 11px;
}
@media (max-width: 600px) {
.portal-template.soysphere .portal-header-image-end {
display: none;
}
}
/* Soyjak Party Portal */
.portal-template.soyjakparty {
background: white;
border: 1px solid #9988ee;
border-top: none;
box-sizing: border-box;
padding: 8px;
font-family: sans-serif;
}
.portal-template.soyjakparty .portal-content {
background: transparent;
border: none;
}
.portal-template.soyjakparty .portal-title {
color: #af0a0f;
font-weight: bold;
line-height: 1em;
}
.portal-template.soyjakparty .portal-card {
color: #000000;
background: #ffffff;
border: 1px solid #000000;
padding: 0px;
}
.portal-template.soyjakparty .portal-card-heading {
color: #000000;
background: #7971e2;
border-bottom: 1px solid #000000;
}
.portal-template.soyjakparty .portal-card-heading-text {
color: #000000;
font-weight: bold;
}
.portal-template.soyjakparty .portal-tile {
background: #ffffff;
border: 1px solid #000000;
}
.portal-template.soyjakparty .portal-card-footer {
background: #ffffff;
padding: 11px;
color: #000000;
padding-top:0;
margin-top:0;
border-top:0;
}
.portal-template.soyjakparty .portal-card-body {
background: #ffffff;
padding: 11px;
color: #000000;
padding-bottom: 0;
margin-bottom:0;
border-bottom:0;
}
.portal-template.soyjakparty .portal-card-body a {
color: #34345c;
text-decoration: underline;
}
.portal-template.soyjakparty .portal-card-body a:visited {
color: #34345c;
}
.portal-template.soyjakparty .portal-card-body a:hover {
color: #af0a0f;
}
/* SoyBooru Portal */
.portal-template.soybooru {
background: white;
border: 1px solid #9988ee;
border-top: none;
box-sizing: border-box;
padding: 8px;
font-family: sans-serif;
}
.portal-template.soybooru .portal-content {
background: transparent;
border: none;
}
.portal-template.soybooru .portal-card {
color: #000000;
background: #edf2f7;
padding: 0px;
}
.portal-template.soybooru .portal-card-heading {
color: #000000;
background: #edf2f7;
border-bottom: 0;
}
.portal-template.soybooru .portal-card-heading-text {
font-weight: bold;
}
.portal-template.soybooru .portal-tile {
background: #ffffff;
border: 1px solid #000000;
}
.portal-template.soybooru .portal-card-footer {
background: white;
border: 2px inset #CFD7E2;
padding: 11px;
margin: 5px;
color: #000000;
padding-top:0;
margin-top:0;
border-top:0;
}
.portal-template.soybooru .portal-card-body {
background: white;
border: 2px inset #CFD7E2;
margin:5px;
padding: 11px;
color: #000000;
padding-bottom: 0;
margin-bottom:0;
border-bottom:0;
}
/* Swedishwin Portal */
.portal-template.swedishwin {
background: white;
border: 1px solid #006aa7;
border-top: none;
box-sizing: border-box;
padding: 8px;
font-family: sans-serif;
}
.portal-template.swedishwin .portal-content {
background: transparent;
border: none;
}
.portal-template.swedishwin .portal-card {
color: #000000;
background: #ffffff;
border: 1px solid #006aa7;
padding: 0px;
}
.portal-template.swedishwin .portal-card-heading {
color: #fecc00;
background: #006aa7;
border-bottom: 2px solid #fecc00;
}
.portal-template.swedishwin .portal-card-heading-text {
color: #fecc00;
font-weight: bold;
}
.portal-template.swedishwin .portal-tile {
background: #ffffff;
border: 1px solid #fecc00;
}
.portal-template.swedishwin .portal-card-footer {
background: #ffffff;
padding: 11px;
color: #000000;
padding-top: 0;
margin-top: 0;
border-top: 0;
}
.portal-template.swedishwin .portal-card-body {
background: #ffffff;
padding: 11px;
color: #000000;
padding-bottom: 0;
margin-bottom: 0;
border-bottom: 0;
}
.portal-template.swedishwin .portal-card-body a {
color: #006aa7;
text-decoration: underline;
}
.portal-template.swedishwin .portal-card-body a:visited {
color: #006aa7;
}
.portal-template.swedishwin .portal-card-body a:hover {
color: #fecc00;
}