Created
March 7, 2018 09:58
-
-
Save adimancv/1eaa8cd8110d19ba00b5072d2a945986 to your computer and use it in GitHub Desktop.
css accordion blog
This file contains hidden or 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
.raise { | |
position: relative; | |
top: -2em; | |
} | |
.uk-container { | |
max-width: 960px; | |
margin: auto; | |
padding: 3em; | |
} | |
.title { | |
min-width: 100px; | |
height: 40px; | |
} | |
.title * { | |
display: inline; | |
} | |
.title h1 { | |
font-size: 54px; | |
position: relative; | |
top: 1rem; | |
padding-left: 0.5ex; | |
} | |
@media (max-width: 400px) { | |
.title h1 { | |
top: 1.2rem; | |
font-size: 30px; | |
} | |
} | |
.title .title__logo { | |
height: 100px; | |
} | |
@media (max-width: 400px) { | |
.title .title__logo { | |
position: relative; | |
top: .8rem; | |
height: auto; | |
width: 25%; | |
} | |
} | |
.uk-accordion li { | |
border-top: 1px solid #D8D8D8; | |
padding-top: 1em; | |
} | |
.uk-h2 { | |
margin-bottom: 1em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment