Related to this blog:
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 class="homeTexte"> | |
<div class="Outter PortletQueryForeach ID_c_11080 ajax-refresh-div Portlet PortletSkinable Inner" style="margin: auto auto auto auto ; vertical-align: middle; text-align: left;"> | |
<style type="text/css"> | |
/*<![CDATA[*/ | |
.homePage { | |
background: url(http://localhost:8080/xxx_Dev/upload/docs/image/png/2011-10/image.png); | |
} | |
/*]]>*/ | |
</style> | |
<h1> |
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
/* Very much OOCSS */ | |
body { | |
font-family: sans-serif; | |
} | |
/* Structure */ | |
.items { | |
list-style-type: none; | |
padding: 1em; | |
} |
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
/* Not so OOCSS but highly reusable */ | |
body { | |
font-family: sans-serif; | |
} | |
.items { | |
list-style-type: none; | |
padding: 1em; | |
} | |
/* Default skin */ |
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
/* Not OOCSS at all */ | |
body { | |
font-family: sans-serif; | |
} | |
#news { | |
list-style-type: none; | |
padding: 1em; | |
} | |
#news > li { |
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
!(/\.(?!.)[^/]*|\.(tmproj|gitmodules|gitattributes|gitignore|o|pyc|DS_Store)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$ |
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
// Transparent Background | |
// From: http://stackoverflow.com/questions/6902944/sass-mixin-for-background-transparency-back-to-ie8 | |
// Extend this class to save bytes | |
.transparent-background { | |
background-color: transparent; | |
zoom: 1; | |
} | |
// The mixin |
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
/** | |
* Long words clearing floats | |
*/ | |
.story-body { | |
font: 300 150%/1.3 sans-serif; | |
/* | |
Word wrapping, technique from: | |
http://blog.kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/ */ | |
-ms-word-break: break-all; |
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
/** | |
* ORB reset and HTML5 normalisation | |
- Based on: | |
----- blq-rst. | |
----- Eric Meyers reset v2.0. | |
----- Kaeligs normalisation. | |
----- Parts of normalize.css v2.0.1. | |
- TODO Add License info | |
e.g. ! normalize.css v2.0.1 | MIT License | git.io/normalize |
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
@media (-webkit-min-device-pixel-ratio: 1.3), | |
(-o-min-device-pixel-ratio: 2.6/2), | |
(min--moz-device-pixel-ratio: 1.3), | |
(min-device-pixel-ratio: 1.3), | |
(min-resolution: 1.3dppx) { | |
// Hi-dpi visuals | |
} |