From cbd544b65db567e2b5f08edd578caef52b3b9205 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 8 Dec 2010 03:43:52 +0000 Subject: changed css/components to css/elements git-svn-id: http://code.elgg.org/elgg/trunk@7565 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/spacing.php | 81 ++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 views/default/css/elements/spacing.php (limited to 'views/default/css/elements/spacing.php') diff --git a/views/default/css/elements/spacing.php b/views/default/css/elements/spacing.php new file mode 100644 index 000000000..d65e2fc09 --- /dev/null +++ b/views/default/css/elements/spacing.php @@ -0,0 +1,81 @@ + +/* *************************************** + Spacing (from OOCSS) +*************************************** */ +/** +* Spacing classes +* Should be used to modify the default spacing between objects (not between nodes of the same object) +* Please use judiciously. You want to be using defaults most of the time, these are exceptions! +* +*/ +/* ====== Default spacing ====== */ +/* comment out for now +h1, h2, h3, h4, h5, h6, ul, ol, dl, p, blockquote, .media {margin:10px;} +h1, h2, h3, h4, h5, h6, img{padding-bottom:0px;} +pre{margin: 10px;} +table h1,table h2,table h3, table h4, table h5, table h6, table p, table ul, table ol, table dl{padding:0;} +*/ + +.pan{padding:0} +.pas{padding:5px} +.pam{padding:10px} +.pal{padding:20px} +.ptn{padding-top:0} +.pts{padding-top:5px} +.ptm{padding-top:10px} +.ptl{padding-top:20px} +.prn{padding-right:0} +.prs{padding-right:5px} +.prm{padding-right:10px} +.prl{padding-right:20px} +.pbn{padding-bottom:0} +.pbs{padding-bottom:5px} +.pbm{padding-bottom:10px} +.pbl{padding-bottom:20px} +.pln{padding-left:0} +.pls{padding-left:5px} +.plm{padding-left:10px} +.pll{padding-left:20px} +.phn{padding-left:0;padding-right:0} +.phs{padding-left:5px;padding-right:5px} +.phm{padding-left:10px;padding-right:10px} +.phl{padding-left:20px;padding-right:20px} +.pvn{padding-top:0;padding-bottom:0} +.pvs{padding-top:5px;padding-bottom:5px} +.pvm{padding-top:10px;padding-bottom:10px} +.pvl{padding-top:20px;padding-bottom:20px} +.man{margin:0} +.mas{margin:5px} +.mam{margin:10px} +.mal{margin:20px} +.mtn{margin-top:0} +.mts{margin-top:5px} +.mtm{margin-top:10px} +.mtl{margin-top:20px} +.mrn{margin-right:0} +.mrs{margin-right:5px} +.mrm{margin-right:10px} +.mrl{margin-right:20px} +.mbn{margin-bottom:0} +.mbs{margin-bottom:5px} +.mbm{margin-bottom:10px} +.mbl{margin-bottom:20px} +.mln{margin-left:0} +.mls{margin-left:5px} +.mlm{margin-left:10px} +.mll{margin-left:20px} +.mhn{margin-left:0;margin-right:0} +.mhs{margin-left:5px;margin-right:5px} +.mhm{margin-left:10px;margin-right:10px} +.mhl{margin-left:20px;margin-right:20px} +.mvn{margin-top:0;margin-bottom:0} +.mvs{margin-top:5px;margin-bottom:5px} +.mvm{margin-top:10px;margin-bottom:10px} +.mvl{margin-top:20px;margin-bottom:20px} -- cgit v1.2.3