Commits

Andrey Vlasovskikh  committed 04482b8

Refactored nested styles

  • Participants
  • Parent commits e84622c

Comments (0)

Files changed (1)

File doc/media/default.less

 
 .hentry {
     margin: 1em 0;
-}
 
-.hentry .navigation {
-    float: right;
-    text-align: right;
-    margin-bottom: 0.2em;
-}
+    .navigation {
+        float: right;
+        text-align: right;
+        margin-bottom: 0.2em;
+    }
 
-.hentry .published {
-    float: right;
-    clear: both;
-    color: #666666;
-}
+    .published {
+        float: right;
+        clear: both;
+        color: #666666;
+    }
 
-.hentry h3, .hentry h4 {
-    margin: 0.5em 0;
+    h3, h4 {
+        margin: 0.5em 0;
+    }
 }
 
 .dynamic-link {
     padding: 0.5em 2em;
 }
 
-#quickstart ol {
-    list-style-position: inside;
-    padding: 0;
+#quickstart {
+    ol {
+        list-style-position: inside;
+        padding: 0;
+    }
+
+    .file-content {
+        display: none;
+        margin: 1em 0;
+    }
 }
 
-#quickstart .file-content {
-    display: none;
-    margin: 1em 0;
-}
+#why-obraz {
+    .reason {
+        text-align: center;
+        float: left;
+        width: 120px;
+        margin: 0 10px;
 
-#why-obraz .reason {
-    text-align: center;
-    float: left;
-    width: 120px;
-    margin: 0 10px;
-}
+        dt {
+            font-size: 18pt;
+            font-family: "Ubuntu", "Arial", sans-serif;
+            color: #333026;
+            padding: 30px 0;
+            background: #BBAA88;
+            border-radius: 0.4em;
+            -moz-border-radius: 0.4em;
+        }
 
-#why-obraz dl {
-    padding: 0;
-    margin: 0;
-}
+        dd {
+            padding: 0;
+            margin: 1em 0 0 0;
+        }
+    }
 
-#why-obraz .reason dt {
-    font-size: 18pt;
-    font-family: "Ubuntu", "Arial", sans-serif;
-    color: #333026;
-    padding: 30px 0;
-    background: #BBAA88;
-    border-radius: 0.4em;
-    -moz-border-radius: 0.4em;
-}
-
-#why-obraz .reason dd {
-    padding: 0;
-    margin: 1em 0 0 0;
+    dl {
+        padding: 0;
+        margin: 0;
+    }
 }
 
 #videos ul {