Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Hide line numbers for small screens

  • Loading branch information...
commit 5676c2c09ad8ab01041fdadf7b05ae791221aecf 1 parent 47f6224
Jussi Kalliokoski authored
Showing with 14 additions and 14 deletions.
  1. +14 −14 scss/style.css
28 scss/style.css
View
@@ -98,14 +98,6 @@ article {
margin: 16px;
}
-@media (min-width: 1000px) and (min-device-width: 1000px) {
- header, nav, section {
- width: 960px;
- margin-left: auto;
- margin-right: auto;
- }
-}
-
/* Syntax highlighting */
code {
@@ -142,12 +134,6 @@ div.code {
}
}
-div.code .ln {
-}
-
-div.code code {
-}
-
code .st, code .re, code .hx, code .id, code .tn, code .av {
color: @dark-yellow;
}
@@ -168,3 +154,17 @@ code .br, code .cn, code .sg, code .eg, .html .is, .html .op {
color: @dark-cyan;
font-weight: bold;
}
+
+@media (min-width: 1000px) and (min-device-width: 1000px) {
+ header, nav, section {
+ width: 960px;
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
+
+@media (max-width: 800px) {
+ div.code .ln {
+ display: none;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.