Created
September 19, 2010 14:19
-
-
Save aarongustafson/586805 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
p { | |
color: red; | |
font-weight: bold; | |
} |
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
p { | |
background-color: rgb(137, 224, 160); | |
background-color: rgba(180, 246, 248, .43); | |
} |
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
html[lang] p { | |
/* A bunch of advanced stuff goes here */ | |
} |
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
#intro { | |
margin: 0; | |
padding: 0; | |
width: 660px; | |
height: 80px; | |
background: transparent url(introkop.gif) no-repeat right top; | |
} | |
... | |
body[id=css-zen-garden] #intro { | |
position: absolute; | |
top: 0; | |
left: 0; | |
float: none; | |
margin: 0; | |
width: 100%; | |
height: 350px; | |
background: none; | |
} |
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
p, | |
p:not([title]) { | |
color: red; | |
font-style: bold; | |
} |
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
#intro { | |
/* Old Layout */ | |
} | |
... | |
[foo], #intro { | |
/* Advanced Layout */ | |
} |
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
h1 { | |
font-size: 2em; | |
} | |
h1 { | |
font-size: 3em; | |
} |
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
<article id="lodging"> | |
<header> | |
<h1>Where You’ll Stay</h1> | |
</header> | |
<figure class="frame focal"> | |
<img class="inner" src="i/lodge.jpg" alt="" title="..."/> | |
</figure> | |
<section class="main"> | |
<!-- description of accommodations --> | |
</section> | |
<aside class="extra"> | |
<ul class="gallery"> | |
<li> | |
<figure class="frame"> | |
<img class="inner" src="i/room.jpg" alt="" title="..."/> | |
</figure> | |
</li> | |
... | |
</ul> | |
</aside> | |
</article> |
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
.frame { | |
margin: 0 auto 40px; | |
} | |
.focal { | |
margin: 0 20px 25px 30px; | |
} |
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
/* =Typography */ | |
img { | |
display:block; | |
} | |
/* =Layout */ | |
@media screen { | |
.frame .inner { | |
border: 10px solid; | |
} | |
} | |
/* =Color */ | |
.frame .inner { | |
background-color: rgb(227, 222, 215); | |
border-color: rgb(227, 222, 215); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment