Created
June 8, 2012 11:44
-
-
Save zincplusplus/2895171 to your computer and use it in GitHub Desktop.
:target - change themes
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
/** | |
* :target - change themes | |
*/ | |
body { | |
background: #f2f2f2; | |
color: #131313; | |
} | |
#dark:target { | |
background: #272822; | |
color: #F2F2F2; | |
} | |
a { | |
color: #09F; | |
} | |
p { | |
font-family: Arial; | |
font-size: 14px; | |
line-height: 1.48em; | |
margin: 0 0 0.754em 0; | |
width: 27.8em; | |
} |
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
<h1>Lorem ipsum dolor sit amet</h1> | |
<p>You can choose between <a href="#dark">a dark theme</a> or <a href="#">a light theme</a>.</p> | |
<p>Proin sed ipsum elit. Ut ultricies laoreet laoreet. Mauris sed lorem libero. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam id pretium metus. Maecenas porttitor leo id diam porttitor egestas.</p> | |
<p>Sed semper mollis quam, vitae cursus elit tristique eget. Aliquam ullamcorper fermentum aliquam. Vivamus ullamcorper, neque quis sodales iaculis, magna est aliquam est, sit amet tincidunt lacus tortor quis sapien. Ut a sem augue, vel suscipit magna.</p> |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment