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

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
imported>Felix
Line 1: Line 1:
 
/*---Header---*/
 
/*---Header---*/
 +
#header {
 +
border: 2px solid #461a00;
 +
text-shadow: 1px 1px 3px #461a00, -1px -1px 3px #461a00, -1px 1px 3px #461a00, 1px -1px 3px #461a00;
 +
}
 
.headbit {
 
.headbit {
 
margin: 0 15px;
 
margin: 0 15px;

Revision as of 23:59, 13 September 2016

/*---Header---*/
#header {
	border: 2px solid #461a00;
	text-shadow: 1px 1px 3px #461a00, -1px -1px 3px #461a00, -1px 1px 3px #461a00, 1px -1px 3px #461a00;
}
.headbit {
	margin: 0 15px;
}
#glyphs1 > img:last-of-type {
	left: -5px;
	position: relative;
}
#name {
	white-space: nowrap;
}
/*---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;
}
/*---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+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.edge: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;
}
/*---Meanwhile---*/
#also {
    padding: 5px;
    text-align: center;
}
#also img {
    width: 100%;
    max-width: 720px;
    height: auto;
}
/*---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;
    }
}