Difference between revisions of "User:Felix/Felix.css"
Jump to navigation
Jump to search
imported>Felix |
imported>Felix |
||
Line 189: | Line 189: | ||
border-top: 1px dotted #102f45; | border-top: 1px dotted #102f45; | ||
padding-top: 10px; | padding-top: 10px; | ||
+ | } | ||
+ | /*---Descriptions---*/ | ||
+ | |||
+ | #descs { | ||
+ | display: flex; | ||
+ | flex-flow: row wrap; | ||
+ | justify-content: center; | ||
+ | } | ||
+ | .tab { | ||
+ | order: 1; | ||
+ | } | ||
+ | #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; | ||
} | } | ||
/*---Small Screens Header---*/ | /*---Small Screens Header---*/ |
Revision as of 10:14, 17 November 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.75em; } #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; } /*---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; } /*---Logs---*/ #Logs + div p { padding-left: 1em; text-indent: -1em; } /*---Gallery/Folks---*/ #Gallery+div ul, #Folks+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, #Folks+div li { background-color: rgba(195,210,231,0.5); border: 1px solid #461a00; flex: 1 0 auto; max-width: 22%; margin: 5px; } #Folks + div li.person { font-size: 90%; max-width: 17%; } #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, #Folks+div li img { height: auto; margin: 5px; border: 1px dotted #461a00; } .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; } #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; } /*---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; } #altimg { display: none; } }