aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/spacing.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-08 03:43:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-08 03:43:52 +0000
commitcbd544b65db567e2b5f08edd578caef52b3b9205 (patch)
tree4c425df4f8bf191c934fd66ed4a0f85997c3e72f /views/default/css/elements/spacing.php
parent559c16cbf249103a6221b2e32f00a52fbaa2b50f (diff)
downloadelgg-cbd544b65db567e2b5f08edd578caef52b3b9205.tar.gz
elgg-cbd544b65db567e2b5f08edd578caef52b3b9205.tar.bz2
changed css/components to css/elements
git-svn-id: http://code.elgg.org/elgg/trunk@7565 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/elements/spacing.php')
-rw-r--r--views/default/css/elements/spacing.php81
1 files changed, 81 insertions, 0 deletions
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 @@
+<?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}