Summary Files Commits Branches @commit @diff @stats
path: root / dist
diff options
context:
space:
mode:
Commit173fb18813d0173d0545d8ca55ab4f6a76f7fdc9 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-06 17:15:29 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-06 17:15:29 +0800
Files9704600acf6b5549526cf81e355e092dd8efceab /dist
Spectre-Dark-Gruvbox-173fb18813d0173d0545d8ca55ab4f6a76f7fdc9.tar
Spectre-Dark-Gruvbox-173fb18813d0173d0545d8ca55ab4f6a76f7fdc9.tar.gz
Spectre-Dark-Gruvbox-173fb18813d0173d0545d8ca55ab4f6a76f7fdc9.zip
Parent41504e8032d35a68b7f224cf49cfe9b09b6f8e34 (diff)
add responsive breakpoint system code
1 files changed, 36 insertions, 2 deletions
-rw-r--r--dist/spectre.css38
diff --git a/dist/spectre.css b/dist/spectre.css
index 5f698ed..622e322 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -416,7 +416,7 @@ h6 {
font-weight: 300;
line-height: 1.1;
margin-top: 2.5rem;
- margin-bottom: 1rem;
+ margin-bottom: 1.5rem;
color: inherit;
}
h1 {
@@ -558,8 +558,17 @@ ol ol {
padding-right: 1rem;
}
@media screen and (min-width: 961px) {
- .container.grid-960 {
+ .grid-960 {
width: 96rem;
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
+@media screen and (min-width: 481px) {
+ .grid-480 {
+ width: 48rem;
+ margin-left: auto;
+ margin-right: auto;
}
}
.columns {
@@ -634,6 +643,31 @@ ol ol {
width: 8.33333333%;
}
}
+@media screen and (max-width: 480px) {
+ .hide-xs {
+ display: none !important;
+ }
+}
+@media screen and (max-width: 600px) {
+ .hide-sm {
+ display: none !important;
+ }
+}
+@media screen and (max-width: 840px) {
+ .hide-md {
+ display: none !important;
+ }
+}
+@media screen and (max-width: 960px) {
+ .hide-lg {
+ display: none !important;
+ }
+}
+@media screen and (max-width: 1280px) {
+ .hide-xl {
+ display: none !important;
+ }
+}
.img-responsive {
display: block;
max-width: 100%;