Commits

Vlad Riscutia  committed c754e68

Style tweaks.

  • Participants
  • Parent commits 716bfde
  • Branches html5

Comments (0)

Files changed (2)

File tinkerer/themes/boilerplate/static/style.css

 
 body, button, input, select, textarea { font-family: sans-serif; color: #222; }
 
-/* 
- * Remove text-shadow in selection highlight: h5bp.com/i
- * These selection declarations have to be separate
- * Also: hot pink! (or customize the background color to match your design)
- */
-
-::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
-::selection { background: #fe57a1; color: #fff; text-shadow: none; }
-
-
 /* =============================================================================
    Links
    ========================================================================== */

File tinkerer/themes/modern5/static/modern5.css_t

 
 /* Layout */
 header h1, h2 { margin: 0; }
-header h1 { padding: 10px 40px 5px; }
+header h1 { padding: 20px 40px 5px; }
 header h2 { padding: 5px 40px 1em; }
 
 nav { padding: 10px 0; }
 article.document { padding: 40px 0 20px 0; }
 article.document h1, h2, h3 { margin-top: 0; }
 
+div.highlight { padding: 10px 20px; }
+
+div.section + div.postmeta { padding-top: 20px; }
 div.post_separator { margin: 20px 0; }
 
 aside.sidebar h1 { margin-top: 0; }
 
 a, a:visited { color: {{ link_color }}; text-decoration: none; }
 a:hover { color: {{ link_color }}; text-decoration: underline; }
-div.section a { color: {{ text_color }}; text-decoration: none; }
+a.footnote-reference { vertical-align: super; }
+div.section a h1 { color: {{ text_color }}; text-decoration: none; }
+tt.docutils.literal { background-color: {{ sidebar_color }}; }
+
+div.content { background: {{ paper_color }} url('paper.png') repeat; color: {{ text_color }}; }
+aside.sidebar { background-color: {{ sidebar_color }}; }
 
 div.postmeta { color: {{ theme_color_light }}; }
 div.post_separator { border-bottom: 1px dotted {{ theme_color_light }}; }
 
-div.content { background: {{ paper_color }} url('paper.png') repeat; color: {{ text_color }}; }
-aside.sidebar { background-color: {{ sidebar_color }}; }
-
 /* Effects */
 header h1 * { text-shadow: 0 2px 3px {{ theme_color_dark }}; }
 header h2 { text-shadow: 0 2px 3px {{ theme_color_dark }}; }
         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#354550', endColorstr='#011019',GradientType=0 );
     }
 
-    nav li { text-shadow: 0 2px 3px {{ theme_color_dark }}; }
+    footer, nav li { text-shadow: 0 2px 3px {{ theme_color_dark }}; }
+
+    nav li + li > a { border-left: 1px solid {{ theme_color_dark }}; }
+    nav li + li { border-left: 1px solid {{ theme_color_light }}; }
+
 }
 
 @media only screen and (min-width: 768px) {
         box-shadow:         5px 5px 10px 0 #011019; 
     }
 
-    nav li + li > a { border-left: 1px solid {{ theme_color_dark }}; }
-
-    nav li + li { border-left: 1px solid {{ theme_color_light }}; }
-
     div.documentwrapper { border-left: 1px solid #cfd5da; }
     aside.sidebar { border-left: 1px solid #cfd5da; border-right: 1px solid #cfd5da; }
 }