Last active
April 10, 2020 05:33
-
-
Save bitWolfy/e0dcafd7dcbaeb59c24b334db7d18aee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#c-users div#a-show .bottom-section { | |
display: block; | |
margin-top: 1rem; | |
} | |
div#c-users div#a-show .posts-section .posts { | |
display: block | |
} | |
/* Re-position the favorites section */ | |
div#c-users div#a-show div.box.user-favorites, | |
div#c-users div#a-show div.box.user-uploads { | |
display: inline-block; | |
position: relative; | |
flex: 0 0 100%; | |
height: 12rem; | |
min-width: 2rem; | |
width: 100%; | |
background: #ffffff10; | |
margin-bottom: 1em; | |
border-radius: 6px; | |
} | |
div#c-users div#a-show div.box.user-favorites h2, | |
div#c-users div#a-show div.box.user-uploads h2 { | |
border-bottom: 0.25rem solid #00000060; | |
background: #ffffff10; | |
position: absolute; | |
bottom: -2.5rem; | |
transform: rotate(270deg); | |
transform-origin: top left; | |
width: 12rem; | |
height: 2rem; | |
line-height: 2rem; | |
padding: 0 0 0.25rem; | |
text-align: center; | |
overflow: hidden; | |
border-radius: 6px; | |
} | |
div#c-users div#a-show div.box.user-favorites div.vertical-section, | |
div#c-users div#a-show div.box.user-uploads div.vertical-section { | |
height: 12rem; | |
flex-direction: row-reverse; | |
align-items: flex-end; | |
justify-content: space-evenly; | |
margin: 0 1rem 0 3rem; | |
} | |
div#c-users div#a-show div.box.user-favorites h4, | |
div#c-users div#a-show div.box.user-uploads h4 { | |
text-align: center; | |
} | |
/* Unmargin about sections */ | |
div#c-users div#a-show .about-section .about-piece { | |
margin: 0 1rem 0 0; | |
} | |
div#c-users div#a-show .about-section .about-piece:last-child { | |
margin-right: 0; | |
} | |
/* Fix for the privacy mode */ | |
div#c-users div#a-show div.box.user-favorites h4, | |
div#c-users div#a-show div.box.user-uploads h4 { | |
position: absolute; | |
left: 0; | |
right: 0; | |
z-index: 100; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment