aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/components/spacing.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 00:49:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 00:49:20 +0000
commit6ed8d3f7c8b98f73ac461a7a45798b8f1ffb173b (patch)
tree36bf9b9ba818cf1b45f9dc4d3549b45d89f76bfd /views/default/css/components/spacing.php
parentf989bd60d6e310541006c4178854f4aef1f6b9b4 (diff)
downloadelgg-6ed8d3f7c8b98f73ac461a7a45798b8f1ffb173b.tar.gz
elgg-6ed8d3f7c8b98f73ac461a7a45798b8f1ffb173b.tar.bz2
Refs #2317 pulled a few sections of CSS out to try out granular CSS
git-svn-id: http://code.elgg.org/elgg/trunk@7491 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/components/spacing.php')
-rw-r--r--views/default/css/components/spacing.php81
1 files changed, 81 insertions, 0 deletions
diff --git a/views/default/css/components/spacing.php b/views/default/css/components/spacing.php
new file mode 100644
index 000000000..d65e2fc09
--- /dev/null
+++ b/views/default/css/components/spacing.php
@@ -0,0 +1,81 @@
+<?php
+/**
+ * CSS spacing
+ *
+ * @package Elgg.Core
+ * @subpackage UI
+ */
+?>
+/* ***************************************
+ 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!
+* <type><location><size>
+*/
+/* ====== 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}