Difference between revisions of "User:Felix/Felix.css"
Jump to navigation
Jump to search
imported>Felix |
m |
||
(44 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | #content { | |
+ | font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; | ||
+ | } | ||
+ | #name, .header, .stathead, #Playlist + div p, #RP_Hooks+div b { | ||
+ | font-family: Rockwell,Courier Bold,Courier,Georgia,Times,Times New Roman,serif; | ||
+ | } | ||
+ | #bodyContent a { | ||
+ | color: #794D33 !important; | ||
+ | } | ||
+ | .data, .data p { | ||
+ | line-height: 1.75em; | ||
+ | } | ||
+ | .data p { | ||
+ | padding: 0; | ||
+ | } | ||
+ | #statbox, #Overview + div { | ||
+ | line-height: 1.5em; | ||
+ | } | ||
+ | td:first-of-type { | ||
+ | padding-right: 0.5em; | ||
+ | text-align: right; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | /*---Overview---*/ | ||
+ | #Overview+.data { | ||
+ | width: 240px; | ||
+ | } | ||
+ | img[src$="LastCallGlyph.png"],img[src$="LastCallGlyph.png"] a { | ||
+ | display: block; | ||
+ | left: -90px; | ||
+ | opacity: 0.8; | ||
+ | position: relative; | ||
+ | } | ||
/*---Header---*/ | /*---Header---*/ | ||
#header { | #header { | ||
Line 6: | Line 38: | ||
background: -webkit-linear-gradient(top, rgba(16,47,69,1) 0%,rgba(16,47,69,0.9) 33%,rgba(16,47,69,0.85) 50%,rgba(16,47,69,0.9) 67%,rgba(16,47,69,1) 100%) !important; | background: -webkit-linear-gradient(top, rgba(16,47,69,1) 0%,rgba(16,47,69,0.9) 33%,rgba(16,47,69,0.85) 50%,rgba(16,47,69,0.9) 67%,rgba(16,47,69,1) 100%) !important; | ||
background: linear-gradient(to bottom, rgba(16,47,69,1) 0%,rgba(16,47,69,0.9) 33%,rgba(16,47,69,0.85) 50%,rgba(16,47,69,0.9) 67%,rgba(16,47,69,1) 100%) !important; | background: linear-gradient(to bottom, rgba(16,47,69,1) 0%,rgba(16,47,69,0.9) 33%,rgba(16,47,69,0.85) 50%,rgba(16,47,69,0.9) 67%,rgba(16,47,69,1) 100%) !important; | ||
− | |||
} | } | ||
.headbit { | .headbit { | ||
Line 19: | Line 50: | ||
line-height: 0.75rem; | line-height: 0.75rem; | ||
text-shadow: none; | text-shadow: none; | ||
− | top: 0. | + | top: 0.6em; |
} | } | ||
#glyphs2 .tooltip { | #glyphs2 .tooltip { | ||
Line 39: | Line 70: | ||
background: linear-gradient(to bottom, rgba(195,210,231,1) 0%,rgba(195,210,231,0.8) 33%,rgba(195,210,231,0.65) 50%,rgba(195,210,231,0.8) 67%,rgba(195,210,231,1) 100%) !important; | background: linear-gradient(to bottom, rgba(195,210,231,1) 0%,rgba(195,210,231,0.8) 33%,rgba(195,210,231,0.65) 50%,rgba(195,210,231,0.8) 67%,rgba(195,210,231,1) 100%) !important; | ||
} | } | ||
− | #contents | + | #contents li::before { |
− | font- | + | width: 1.75em !important; |
+ | } | ||
+ | #contents, .stathead { | ||
+ | font-size: 1.1em; | ||
+ | } | ||
+ | .header { | ||
+ | font-size: 1.25em; | ||
} | } | ||
/*---Stats---*/ | /*---Stats---*/ | ||
#statbox .wrapper .tooltip { | #statbox .wrapper .tooltip { | ||
− | + | top: -0.5em !important; | |
} | } | ||
#statbox td:nth-of-type(2) { | #statbox td:nth-of-type(2) { | ||
− | text-align: right; | + | //text-align: right; |
+ | } | ||
+ | #statbox td:only-of-type { | ||
+ | padding-right: 0; | ||
+ | text-align: center; | ||
+ | } | ||
+ | #statbox .dot5 { | ||
+ | margin-left: 0.33em; | ||
+ | } | ||
+ | .firstrow i { | ||
+ | display: block; | ||
+ | font-size: 90%; | ||
+ | line-height: 1.5em; | ||
+ | margin-top: 5px; | ||
+ | white-space: normal; | ||
+ | width: 75%; | ||
+ | } | ||
+ | .tooltip.wrap > ul { | ||
+ | margin: 0; | ||
+ | } | ||
+ | .tooltip.wrap li { | ||
+ | display: inline-flex; | ||
+ | font-size: 0; | ||
+ | list-style: outside none none; | ||
+ | margin: 0 2px; | ||
+ | padding: 0; | ||
+ | } | ||
+ | .tooltip.wrap li::after { | ||
+ | content: ", "; | ||
+ | font-size: 0.8rem; | ||
+ | } | ||
+ | .tooltip.wrap li:last-of-type::after { | ||
+ | content: "."; | ||
+ | } | ||
+ | .tooltip.wrap li:last-of-type::before { | ||
+ | content: "and "; | ||
+ | font-size: 0.8rem; | ||
+ | margin: 0 4px 0 0; | ||
+ | } | ||
+ | .tooltip.wrap a { | ||
+ | font-size: 0.8rem; | ||
} | } | ||
/*---Intro---*/ | /*---Intro---*/ | ||
.para { | .para { | ||
− | text-indent: | + | text-indent: 3em; |
} | } | ||
/*---Hooks---*/ | /*---Hooks---*/ | ||
#RP_Hooks+div { | #RP_Hooks+div { | ||
− | margin-left: | + | margin-left: 3em; |
} | } | ||
#RP_Hooks+div b { | #RP_Hooks+div b { | ||
color: #102f45; | color: #102f45; | ||
− | margin-left: - | + | font-size: 1.1em; |
+ | margin-left: -2.5em; | ||
} | } | ||
/*---Playlist---*/ | /*---Playlist---*/ | ||
Line 72: | Line 150: | ||
#Playlist + div p { | #Playlist + div p { | ||
display: block; | display: block; | ||
+ | font-size: 1.25em; | ||
font-weight: bold; | font-weight: bold; | ||
left: 0; | left: 0; | ||
Line 77: | Line 156: | ||
position: absolute; | position: absolute; | ||
text-align: center; | text-align: center; | ||
− | top: -2. | + | top: -2.25em; |
width: 100%; | width: 100%; | ||
} | } | ||
Line 96: | Line 175: | ||
#Playlist+div li::before { | #Playlist+div li::before { | ||
content: "■ "; | content: "■ "; | ||
− | color: # | + | color: #794D33; |
} | } | ||
/*---Quotes---*/ | /*---Quotes---*/ | ||
Line 111: | Line 190: | ||
/*---Logs---*/ | /*---Logs---*/ | ||
#Logs + div p { | #Logs + div p { | ||
− | padding-left: | + | margin: 0 0 0 5.5em; |
− | + | padding-left: .25em; | |
+ | } | ||
+ | #Logs + div a, #Logs + div a::before { | ||
+ | margin-left: -5.5em; | ||
} | } | ||
/*---Gallery/Folks---*/ | /*---Gallery/Folks---*/ | ||
Line 133: | Line 215: | ||
max-width: 22%; | max-width: 22%; | ||
min-width: 137px; | min-width: 137px; | ||
+ | } | ||
+ | #Folks + div li { | ||
+ | transform-origin: 51% 50% 0; | ||
} | } | ||
#Folks + div li.person { | #Folks + div li.person { | ||
font-size: 90%; | font-size: 90%; | ||
− | height: | + | height: 146px; |
max-width: 125px; | max-width: 125px; | ||
min-width: 125px; | min-width: 125px; | ||
Line 165: | Line 250: | ||
} | } | ||
#Gallery+div a, #Folks+div a { | #Gallery+div a, #Folks+div a { | ||
− | + | display: table; | |
} | } | ||
#Gallery + div li img { | #Gallery + div li img { | ||
border: 1px dotted #461a00; | border: 1px dotted #461a00; | ||
− | height: | + | height: 100%; |
− | margin: 5px | + | margin: 5px; |
min-width: 125px; | min-width: 125px; | ||
width: calc(100% - 12px); | width: calc(100% - 12px); | ||
Line 188: | Line 273: | ||
justify-content: center; | justify-content: center; | ||
margin: 0.125em 0 -5px; | margin: 0.125em 0 -5px; | ||
+ | } | ||
+ | .star { | ||
+ | font-size: 125%; | ||
+ | } | ||
+ | .note { | ||
+ | display: inline-block; | ||
+ | font-size: 125%; | ||
+ | left: 2px; | ||
+ | position: relative; | ||
+ | } | ||
+ | .inactive { | ||
+ | opacity: .33; | ||
+ | order: 10; | ||
+ | } | ||
+ | .inactive:hover { | ||
+ | opacity: 1; | ||
+ | } | ||
+ | #Folks + .data li:hover { | ||
+ | border-radius: 10px 10px 0 0; | ||
+ | } | ||
+ | .hovered { | ||
+ | background: rgb(195, 210, 231); | ||
+ | border-color: transparent #461a00 #461a00; | ||
+ | border-radius: 0 0 10px 10px; | ||
+ | border-style: none solid solid; | ||
+ | border-width: 0 1px 1px; | ||
+ | display: none; | ||
+ | font-size: 0.4rem; | ||
+ | left: -1px; | ||
+ | line-height: 0.6rem; | ||
+ | padding: 0 12px 3px; | ||
+ | position: relative; | ||
+ | text-align: center; | ||
+ | top: 7px; | ||
+ | width: 101px; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | #Folks + .data li:hover .hovered { | ||
+ | display: block; | ||
} | } | ||
/*---Images---*/ | /*---Images---*/ | ||
Line 215: | Line 339: | ||
img[src$="GPF.jpg"] { | img[src$="GPF.jpg"] { | ||
border: 1px solid #416000; | border: 1px solid #416000; | ||
− | margin: 4px 0 | + | margin: 4px 0; |
} | } | ||
#left-3 { | #left-3 { | ||
Line 245: | Line 369: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
− | |||
#left-5 .center { | #left-5 .center { | ||
border-top: 1px dotted #102f45; | border-top: 1px dotted #102f45; | ||
Line 257: | Line 380: | ||
} | } | ||
.tab { | .tab { | ||
+ | font-weight: bold; | ||
order: 1; | order: 1; | ||
− | margin-top: -4em; | + | //margin-top: -4em; |
− | padding-top: 4em; | + | //padding-top: 4em; |
+ | } | ||
+ | .anchor { | ||
+ | display: none; | ||
} | } | ||
− | + | .homid { | |
order: 0; | order: 0; | ||
} | } | ||
− | .tab a, :target ~ #homid a { | + | .tab a, :target ~ #homid + .tab a { |
display: inline-block; | display: inline-block; | ||
padding: 0 1em; | padding: 0 1em; | ||
Line 271: | Line 398: | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
− | #homid a, . | + | #homid + .tab a, .anchor:target + .tab a { |
opacity: 1; | opacity: 1; | ||
border-bottom: 1px solid #410000; | border-bottom: 1px solid #410000; | ||
Line 299: | Line 426: | ||
} | } | ||
#descs > div > div { | #descs > div > div { | ||
+ | margin-top: 0.5em; | ||
text-align: center; | text-align: center; | ||
text-indent: 0; | text-indent: 0; | ||
Line 309: | Line 437: | ||
margin: 5px 0 -6px -6px; | margin: 5px 0 -6px -6px; | ||
width: calc(100% + 12px); | width: calc(100% + 12px); | ||
+ | } | ||
+ | .quote::before { | ||
+ | color: #102f45; | ||
+ | content: "■■■"; | ||
+ | display: block; | ||
+ | margin-bottom: 0.5em; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .ooc { | ||
+ | margin-top: 1em; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .ooc .header { | ||
+ | border-top: none; | ||
+ | } | ||
+ | .ooc p { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | .hide { | ||
+ | display: none; | ||
+ | } | ||
+ | /* Footer */ | ||
+ | #catlinks { | ||
+ | max-width: 1070px; | ||
+ | min-width: 250px; | ||
+ | text-align: left; | ||
+ | width: calc(100% - 0.5em); | ||
+ | } | ||
+ | div#footer { | ||
+ | align-items: center; | ||
+ | display: flex; | ||
+ | flex-flow: row wrap; | ||
+ | justify-content: space-between; | ||
+ | max-width: 1105px; | ||
+ | min-width: 270px; | ||
+ | opacity: 0.5; | ||
+ | padding: 0 1rem 0 0; | ||
+ | position: relative; | ||
+ | } | ||
+ | #footer > div:last-child { | ||
+ | display: none; | ||
+ | } | ||
+ | ul#footer-info > li { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | ul#footer-info > li:first-of-type { | ||
+ | padding-right: 1em; | ||
} | } | ||
/*---Folks Edge Definition for Different Sizes---*/ | /*---Folks Edge Definition for Different Sizes---*/ | ||
Line 347: | Line 523: | ||
} | } | ||
/*---Small Screens Header---*/ | /*---Small Screens Header---*/ | ||
− | @media only screen and (max-width: | + | @media only screen and (max-width: 804px) { |
#header { | #header { | ||
height: 2em; | height: 2em; | ||
Line 377: | Line 553: | ||
#altimg { | #altimg { | ||
display: none; | display: none; | ||
+ | } | ||
+ | #Overview+.data { | ||
+ | width: auto; | ||
+ | } | ||
+ | #Overview+.data > table { | ||
+ | margin-left: calc(50% - 120px); | ||
} | } | ||
} | } |
Latest revision as of 16:12, 3 January 2021
#content { font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; } #name, .header, .stathead, #Playlist + div p, #RP_Hooks+div b { font-family: Rockwell,Courier Bold,Courier,Georgia,Times,Times New Roman,serif; } #bodyContent a { color: #794D33 !important; } .data, .data p { line-height: 1.75em; } .data p { padding: 0; } #statbox, #Overview + div { line-height: 1.5em; } td:first-of-type { padding-right: 0.5em; text-align: right; white-space: nowrap; } /*---Overview---*/ #Overview+.data { width: 240px; } img[src$="LastCallGlyph.png"],img[src$="LastCallGlyph.png"] a { display: block; left: -90px; opacity: 0.8; position: relative; } /*---Header---*/ #header { text-shadow: 1px 1px 3px #461a00, -1px -1px 3px #461a00, -1px 1px 3px #461a00, 1px -1px 3px #461a00; background: -moz-linear-gradient(top, rgba(16,47,69,1) 0%, rgba(16,47,69,0.9) 33%, rgba(16,47,69,0.85) 50%, rgba(16,47,69,0.9) 67%, rgba(16,47,69,1) 100%) !important; background: -webkit-linear-gradient(top, rgba(16,47,69,1) 0%,rgba(16,47,69,0.9) 33%,rgba(16,47,69,0.85) 50%,rgba(16,47,69,0.9) 67%,rgba(16,47,69,1) 100%) !important; background: linear-gradient(to bottom, rgba(16,47,69,1) 0%,rgba(16,47,69,0.9) 33%,rgba(16,47,69,0.85) 50%,rgba(16,47,69,0.9) 67%,rgba(16,47,69,1) 100%) !important; } .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.6em; } #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, .header { background: -moz-linear-gradient(top, rgba(195,210,231,1) 0%, rgba(195,210,231,0.8) 33%, rgba(195,210,231,0.65) 50%, rgba(195,210,231,0.8) 67%, rgba(195,210,231,1) 100%) !important; background: -webkit-linear-gradient(top, rgba(195,210,231,1) 0%,rgba(195,210,231,0.8) 33%,rgba(195,210,231,0.65) 50%,rgba(195,210,231,0.8) 67%,rgba(195,210,231,1) 100%) !important; background: linear-gradient(to bottom, rgba(195,210,231,1) 0%,rgba(195,210,231,0.8) 33%,rgba(195,210,231,0.65) 50%,rgba(195,210,231,0.8) 67%,rgba(195,210,231,1) 100%) !important; } #contents li::before { width: 1.75em !important; } #contents, .stathead { font-size: 1.1em; } .header { font-size: 1.25em; } /*---Stats---*/ #statbox .wrapper .tooltip { top: -0.5em !important; } #statbox td:nth-of-type(2) { //text-align: right; } #statbox td:only-of-type { padding-right: 0; text-align: center; } #statbox .dot5 { margin-left: 0.33em; } .firstrow i { display: block; font-size: 90%; line-height: 1.5em; margin-top: 5px; white-space: normal; width: 75%; } .tooltip.wrap > ul { margin: 0; } .tooltip.wrap li { display: inline-flex; font-size: 0; list-style: outside none none; margin: 0 2px; padding: 0; } .tooltip.wrap li::after { content: ", "; font-size: 0.8rem; } .tooltip.wrap li:last-of-type::after { content: "."; } .tooltip.wrap li:last-of-type::before { content: "and "; font-size: 0.8rem; margin: 0 4px 0 0; } .tooltip.wrap a { font-size: 0.8rem; } /*---Intro---*/ .para { text-indent: 3em; } /*---Hooks---*/ #RP_Hooks+div { margin-left: 3em; } #RP_Hooks+div b { color: #102f45; font-size: 1.1em; margin-left: -2.5em; } /*---Playlist---*/ #Playlist { color: transparent; } #Playlist + div .plainlinks { display: flex; position: relative; flex-flow: row wrap; } #Playlist + div p { display: block; font-size: 1.25em; font-weight: bold; left: 0; margin: 0; position: absolute; text-align: center; top: -2.25em; 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: #794D33; } /*---Quotes---*/ #Quotes+div { text-align: justify; padding: .5em 1em; } .attr { width:100%; text-align: right; display: block; font-style: italic; } /*---Logs---*/ #Logs + div p { margin: 0 0 0 5.5em; padding-left: .25em; } #Logs + div a, #Logs + div a::before { margin-left: -5.5em; } /*---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; border-radius: 10px; flex: 1 0 auto; margin: 5px; max-width: 22%; min-width: 137px; } #Folks + div li { transform-origin: 51% 50% 0; } #Folks + div li.person { font-size: 90%; height: 146px; max-width: 125px; min-width: 125px; position: relative; width: 125px; } #Folks + div li > a { border: 1px dotted #461000; border-radius: 5px; 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: table; } #Gallery + div li img { border: 1px dotted #461a00; height: 100%; margin: 5px; 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; } .star { font-size: 125%; } .note { display: inline-block; font-size: 125%; left: 2px; position: relative; } .inactive { opacity: .33; order: 10; } .inactive:hover { opacity: 1; } #Folks + .data li:hover { border-radius: 10px 10px 0 0; } .hovered { background: rgb(195, 210, 231); border-color: transparent #461a00 #461a00; border-radius: 0 0 10px 10px; border-style: none solid solid; border-width: 0 1px 1px; display: none; font-size: 0.4rem; left: -1px; line-height: 0.6rem; padding: 0 12px 3px; position: relative; text-align: center; top: 7px; width: 101px; z-index: 10; } #Folks + .data li:hover .hovered { display: block; } /*---Images---*/ img { border-radius: 5px; } #also { display: block; padding: 5px; text-align: center; } #also img { width: 100%; max-width: 720px; height: auto; } a[href$="FelixGraffiti.jpg"] { display: block; text-align: center; width: 100%; } img[src$="FelixGraffiti.jpg"] { height: auto; max-width: 400px; width: 75%; } img[src$="GPF.jpg"] { border: 1px solid #416000; margin: 4px 0; } #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; border-top: none !important; } #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 { font-weight: bold; order: 1; //margin-top: -4em; //padding-top: 4em; } .anchor { display: none; } .homid { order: 0; } .tab a, :target ~ #homid + .tab a { display: inline-block; padding: 0 1em; margin: 0 .5em .5em; opacity: 0.5; border-bottom: none; } #homid + .tab a, .anchor:target + .tab 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; } #descs > div > div { margin-top: 0.5em; text-align: center; text-indent: 0; } /*---Other---*/ #_ { border-top: 1px dotted #102f45; } .header.fauxheader { margin: 5px 0 -6px -6px; width: calc(100% + 12px); } .quote::before { color: #102f45; content: "■■■"; display: block; margin-bottom: 0.5em; text-align: center; width: 100%; } .ooc { margin-top: 1em; overflow: hidden; } .ooc .header { border-top: none; } .ooc p { margin-bottom: 0; } .hide { display: none; } /* Footer */ #catlinks { max-width: 1070px; min-width: 250px; text-align: left; width: calc(100% - 0.5em); } div#footer { align-items: center; display: flex; flex-flow: row wrap; justify-content: space-between; max-width: 1105px; min-width: 270px; opacity: 0.5; padding: 0 1rem 0 0; position: relative; } #footer > div:last-child { display: none; } ul#footer-info > li { display: inline-block; } ul#footer-info > li:first-of-type { padding-right: 1em; } /*---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(n) { transform-origin: 50% 50% 0; } } /*---Small Screens Header---*/ @media only screen and (max-width: 804px) { #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; } #Overview+.data { width: auto; } #Overview+.data > table { margin-left: calc(50% - 120px); } }