aboutsummaryrefslogtreecommitdiff
path: root/assets/css/bootstrap/_media.scss
diff options
context:
space:
mode:
authorMaZderMind2014-10-17 16:06:42 +0200
committerMaZderMind2014-10-17 16:06:42 +0200
commit0bf0647032ff6f2d6f50b21dfe1f7e3f0837c834 (patch)
treecc94f8a1b54d5ec5e44b6c024e599ef59de9d0f5 /assets/css/bootstrap/_media.scss
parentab87cf1cf59edffde2be404251ffb1013b67fc2d (diff)
copy media.ccc.de style
Diffstat (limited to '')
-rw-r--r--assets/css/bootstrap/_media.scss56
1 files changed, 56 insertions, 0 deletions
diff --git a/assets/css/bootstrap/_media.scss b/assets/css/bootstrap/_media.scss
new file mode 100644
index 0000000..5ad22cd
--- /dev/null
+++ b/assets/css/bootstrap/_media.scss
@@ -0,0 +1,56 @@
+// Media objects
+// Source: http://stubbornella.org/content/?p=497
+// --------------------------------------------------
+
+
+// Common styles
+// -------------------------
+
+// Clear the floats
+.media,
+.media-body {
+ overflow: hidden;
+ zoom: 1;
+}
+
+// Proper spacing between instances of .media
+.media,
+.media .media {
+ margin-top: 15px;
+}
+.media:first-child {
+ margin-top: 0;
+}
+
+// For images and videos, set to block
+.media-object {
+ display: block;
+}
+
+// Reset margins on headings for tighter default spacing
+.media-heading {
+ margin: 0 0 5px;
+}
+
+
+// Media image alignment
+// -------------------------
+
+.media {
+ > .pull-left {
+ margin-right: 10px;
+ }
+ > .pull-right {
+ margin-left: 10px;
+ }
+}
+
+
+// Media list variation
+// -------------------------
+
+// Undo default ul/ol styles
+.media-list {
+ padding-left: 0;
+ list-style: none;
+}