Просмотр исходного кода

Make strapline smaller on mobile

Ben Firshman 12 лет назад
Родитель
Сommit
6c8472dd67
1 измененных файлов с 11 добавлено и 5 удалено
  1. 11 5
      docs/css/fig.css

+ 11 - 5
docs/css/fig.css

@@ -158,11 +158,17 @@ a.btn:hover {
 }
 }
 
 
 .strapline {
 .strapline {
-  font-size: 40px;
-  display: block;
-  line-height: 1.2;
-  margin-top: 25px;
-  margin-bottom: 35px;
+  font-size: 30px;
+}
+
+@media (min-width: 768px) {
+  .strapline {
+    font-size: 40px;
+    display: block;
+    line-height: 1.2;
+    margin-top: 25px;
+    margin-bottom: 35px;
+  }
 }
 }
 
 
 strong {
 strong {