Difference between revisions of "User:Felix/Felix.css"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
imported>Felix
Line 310: Line 310:
 
     }
 
     }
 
}
 
}
@media only screen and (max-width: 480px) and (max-width: 615px) {
+
@media only screen and (max-width: 615px) {
 
     #Folks + div li.person:nth-of-type(0) {         
 
     #Folks + div li.person:nth-of-type(0) {         
 
transform-origin: 75% 50% 0;
 
transform-origin: 75% 50% 0;

Revision as of 16:28, 21 December 2016

/*---Header---*/
#header {
	text-shadow: 1px 1px 3px #461a00, -1px -1px 3px #461a00, -1px 1px 3px #461a00, 1px -1px 3px #461a00;
}
.headbit {
	margin: 0 15px;
}
#glyphs1 .tooltip, #glyphs2 .tooltip {
	background-color: #c3d2e7;
	border: 2px solid #461a00;
	color: #461a00;
	font-size: 0.75rem;
	left: 0;
	line-height: 0.75rem;
	text-shadow: none;
	top: 0.45em;
}
#glyphs2 .tooltip {
        left: -10px;
}
#glyphs1 .tooltip::after, #glyphs2 .tooltip::after {
	border-width: 0;
}
#glyphs1 > img:last-of-type {
	left: -5px;
	position: relative;
}
#name {
	white-space: nowrap;
}
#contents a {
        font-weight: bold;
}
/*---Stats---*/
#statbox .wrapper .tooltip {
        top: -0.5em !important;
}
#statbox td:nth-of-type(2) {
    text-align: right;
}
/*---Intro---*/
.para {
        text-indent: 1.5em;
}
/*---Hooks---*/
#RP_Hooks+div {
        margin-left: 1.5em;
}
#RP_Hooks+div b {
        color: #102f45;
        margin-left: -1.5em;
}
/*---Playlist---*/
#Playlist {
        color: transparent;
}
#Playlist + div .plainlinks {
        display: flex;
        position: relative;
        flex-flow: row wrap;
}
#Playlist + div p {
        display: block;
        font-weight: bold;
        left: 0;
        margin: 0;
        position: absolute;
        text-align: center;
        top: -2.5em;
        width: 100%;
}
#Playlist + div ul {
	flex: 1 1 auto;
	font-size: 90%;
	list-style: outside none none;
	margin: 0 0 0 -5px;
}
#Playlist + div ul:last-of-type {
	flex: 1 1 0;
	margin-right: 5px;
}
#Playlist+div li {
	white-space: nowrap;
	margin-left: 10px;
}
#Playlist+div li::before {
	content: "■ ";
	color: #461a00;
}
/*---Quotes---*/
#Quotes+div {
	text-align: justify;
	padding: .5em 1em;
}
.attr {
	width:100%;
	text-align: right;
	display: block;
	font-style: italic;
}
/*---Logs---*/
#Logs + div p {
        padding-left: 1em;
        text-indent: -1em;
}
/*---Gallery/Folks---*/
#Gallery + div ul, #Folks + div ul {
    align-content: center;
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    list-style: outside none none;
    margin: 0;
    position: relative;
}
#Gallery + div li, #Folks + div li {
    background-color: rgba(195, 210, 231, 0.5);
    border: 1px solid #461a00;
    flex: 1 0 auto;
    margin: 5px;
    max-width: 22%;
    min-width: 137px;
}
#Folks + div li.person {
    font-size: 90%;
    height: 140px;
    max-width: 125px;
    min-width: 125px;
    position: relative;
    width: 125px;
}
#Folks + div li > a {
    border: 1px dotted #461000;
    height: 113px;
    left: 5px;
    overflow: hidden;
    position: relative;
    top: 5px;
    width: 113px;
}
#Folks + div li img {
    position: absolute;
    width: auto;
}
#Gallery+div li:hover, #Folks+div li:hover {
	transform:scale(2,2);
	background-color: rgba(195,210,231,1);
        z-index: 10;
}
.edge {
	transform-origin: 75% 50% 0;
}
#Gallery+div a, #Folks+div a {
	display: flex;
}
#Gallery + div li img {
    border: 1px dotted #461a00;
    height: auto;
    margin: 5px auto;
    min-width: 125px;
    width: calc(100% - 12px);
}
.third {
    max-width: 30% !important;
}
.caption {
	font-size: 75%;
	line-height: 1.25em;
	margin: 0 5px 5px;
	font-style: italic;
	color: #461a00;
}
.name {
    display: flex;
    justify-content: center;
    margin: 0.125em 0 -5px;
}
/*---Images---*/
#also {
    display: block;
    padding: 5px;
    text-align: center;
}
#also img {
    width: 100%;
    max-width: 720px;
    height: auto;
}
#damned {
    border-top: 1px dotted #102f45;
    margin-left: -1.5em;
    padding-top: 0.5em;
    text-align: center;
}
#damned img {
    height: auto;
    max-width: 400px;
    width: 75%;
}
#left-3 {
    padding: 10px;
    text-align: center;
}
#left-3 img {
    border: 1px solid #461a00;
}
#left {
    display: flex;
    flex-flow: column nowrap;
}
#altimg {
    align-items: flex-end;
    display: flex;
    height: 100%;
    justify-content: center;
}
#altimg a img {
    border: 0 none transparent !important;
    height: auto;
    opacity: .33;
    padding-bottom: 0.25em;
    width: 165px;
}
#altimg img:hover {
    opacity: 1;
}

#left-5 .center {
    border-top: 1px dotted #102f45;
    padding-top: 10px;
}
/*---Descriptions---*/
#descs {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.tab {
    order: 1;
    margin-top: -4em; 
    padding-top: 4em;  
}
#homid {
    order: 0;
}
.tab a, :target ~ #homid a {
    display: inline-block;
    padding: 0 1em;
    margin: 0 .5em .5em;
    opacity: 0.5;
    border-bottom: none;
}
#homid a, .tab:target a {
    opacity: 1;
    border-bottom: 1px solid #410000;
}
#descs a:hover {
    opacity: 1;
    text-decoration: none;
}
.panel {
    display: none;
    width: 100%;
    text-indent: 1.5em;
    order: 2;
}
#homid-panel {
    display: block;
}
:target ~ #homid-panel {
    display: none;
}
#homid:target ~ #homid-panel,
#glabro:target ~ #glabro-panel,
#crinos:target ~ #crinos-panel,
#hispo:target ~ #hispo-panel,
#lupus:target ~ #lupus-panel {
    display: block;
}
/*---Folks Edge Definition for Different Sizes---*/
@media only screen and (min-width: 1186px) {
    #Folks + div li.person:nth-of-type(5n) {        
	transform-origin: 75% 50% 0;
    }
}
@media only screen and (min-width: 1049px) and (max-width: 1185px) {
    #Folks + div li.person:nth-of-type(4n) {        
	transform-origin: 75% 50% 0;
    }
}
@media only screen and (min-width: 880px) and (max-width: 1048px) {
    #Folks + div li.person:nth-of-type(3n) {        
	transform-origin: 75% 50% 0;
    }
}
@media only screen and (min-width: 743px) and (max-width: 879px) {
    #Folks + div li.person:nth-of-type(2n) {        
	transform-origin: 75% 50% 0;
    }
}
@media only screen and (max-width: 715px) and (max-width: 742px) {
    #Folks + div li.person:nth-of-type(3n) {        
	transform-origin: 75% 50% 0;
    }
}
@media only screen and (max-width: 616px) and (max-width: 714px) {
    #Folks + div li.person:nth-of-type(2n) {        
	transform-origin: 75% 50% 0;
    }
}
@media only screen and (max-width: 615px) {
    #Folks + div li.person:nth-of-type(0) {        
	transform-origin: 75% 50% 0;
    }
}
/*---Small Screens Header---*/
@media only screen and (max-width: 794px) {
    #header {
        height: 2em;
    } 
    #name {
        order:1;
        width: 100%;
    }
    #glyphs1, #glyphs2 {
        align-content: center;
        align-items: center;
        display: flex;
        justify-content: center;
        top: -0.75em;
    }
    #glyphs1 {
        order:2;
    }
    #glyphs2 {
        order:3;
    }
    .headbit {
        margin: 0 !important;
        position: relative;
    }
    #glyphs1 .tooltip, #glyphs2 .tooltip {
	top: 1.75em;
    }
    #altimg {
        display: none;
    }
}