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

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
imported>Felix
Line 7: Line 7:
 
}
 
}
 
#glyphs1 .tooltip, #glyphs2 .tooltip {
 
#glyphs1 .tooltip, #glyphs2 .tooltip {
        font-size: 90%;
+
    font-size: 0.75rem;
 +
    line-height: 0.75rem;
 +
    text-shadow: none;
 
}
 
}
 
#glyphs1 > img:last-of-type {
 
#glyphs1 > img:last-of-type {
Line 58: Line 60:
 
display: block;
 
display: block;
 
font-style: italic;
 
font-style: italic;
}
 
/*---Stats---*/
 
.lastrow td {
 
border-bottom: 1px dotted #102f45;
 
}
 
.dot5 {
 
margin-left: 1em;
 
}
 
.dot5 img {
 
vertical-align: unset;
 
}
 
.wrapper {
 
position: relative;
 
cursor: help;
 
}
 
.wrapper .tooltip {
 
visibility: hidden;
 
white-space:nowrap;
 
background-color: #C3D2E7;
 
color: #461a00;
 
border:2px #461a00 solid;
 
text-align: center;
 
border-radius: 6px;
 
padding: 5px 1em;
 
position: absolute;
 
z-index: 1;
 
top: -7px;
 
left: 115%;
 
}
 
.wrapper .tooltip.wrap {
 
white-space:normal;
 
width:20em;
 
}
 
.wrapper .tooltip::after {
 
content: "";
 
position: absolute;
 
top: 50%;
 
right: 100%;
 
margin-top: -8px;
 
border-width: 8px;
 
border-style: solid;
 
border-color: transparent #461a00 transparent transparent;
 
}
 
.wrapper .tooltip.wrap::after {
 
top: 1.25em;
 
}
 
.wrapper:hover .tooltip {
 
visibility: visible;
 
 
}
 
}
 
/*---Gallery---*/
 
/*---Gallery---*/

Revision as of 00:26, 18 September 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 {
    font-size: 0.75rem;
    line-height: 0.75rem;
    text-shadow: none;
}
#glyphs1 > img:last-of-type {
	left: -5px;
	position: relative;
}
#name {
	white-space: nowrap;
}
/*---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+div {
	overflow: hidden;
}
#Playlist+div ul {
	display: flex;
	flex-flow: row wrap;
	margin-left: -5px;
	font-size: 90%;
	list-style: none;
}
#Playlist+div li {
	flex: 1 0 190px;
	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;
}
/*---Gallery---*/
#Gallery+div ul {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	list-style: none;
	margin: 5px;
	position: relative;
	align-items: center;
}
#Gallery+div li {
	background-color: rgba(195,210,231,0.33);
	border: 1px solid #461a00;
	flex: 1 0 auto;
	max-width: 22%;
	margin: 5px;
}
#Gallery+div li:hover {
	transform:scale(2,2);
	background-color: rgba(195,210,231,1);
}
#Gallery+div li:nth-of-type(4n):hover {
	transform-origin: 75% 50% 0;
}
#Gallery+div a {
	display: flex;
}
#Gallery+div li img {
	width: 92%;
	height: auto;
	margin: 5px;
	border: 1px dotted #461a00;
}
.caption {
	font-size: 75%;
	line-height: 1.25em;
	margin: 0 5px 5px;
	font-style: italic;
	color: #461a00;
}
/*---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: 540px;
    width: 75%;
}
/*---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;
    }
}