Created
August 9, 2019 15:33
-
-
Save lyraddigital/5aedfba424db7e326f2eb4c8e7361da6 to your computer and use it in GitHub Desktop.
The basic styles for Twitter example
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
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
html, body { | |
height: 100%; | |
} | |
html { | |
font-size: 10px; | |
font-family: Arial, Helvetica, sans-serif; | |
background: #afccdb; | |
} | |
h2 { | |
font-size: 1.8rem; | |
text-align: center; | |
margin-bottom: 2.4rem; | |
} | |
p { | |
margin-bottom: 2.0rem; | |
} | |
body > header { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
height: 46px; | |
background: #FFF; | |
border-bottom: 3px solid rgba(0,0,0,0.05); | |
} | |
body > main { | |
width: 100%; | |
padding: 10px; | |
margin-top: 46px; | |
} | |
.tile { | |
padding: 10px 12px; | |
background: #FFF; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment