Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/qqhann/hugo-primer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorQiu <qiu.gits@gmail.com>2018-05-23 21:09:10 +0300
committerQiu <qiu.gits@gmail.com>2018-05-23 21:09:10 +0300
commit0c5c1ebeff25298937e46fde46f198719b968493 (patch)
tree62fae1fd465ebab5135e44b009535ef5b61de4a7 /static
parent98c9a10408631355efb08ddb34196498476cf7e2 (diff)
Fix to be responsible
Diffstat (limited to 'static')
-rw-r--r--static/assets/style.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/static/assets/style.css b/static/assets/style.css
new file mode 100644
index 0000000..a62f016
--- /dev/null
+++ b/static/assets/style.css
@@ -0,0 +1,27 @@
+/* custom css here */
+html, body {
+ width: auto;
+}
+
+/* add responsiveness to primer */
+.container {
+ width: auto;
+ padding-right: 16px;
+ padding-left: 16px;
+ margin-right: auto;
+ margin-left: auto;
+}
+
+/* 768px以上 */
+@media (min-width: 768px) {
+ .container {
+ width: 750px;
+ }
+}
+
+/* 992px以上 */
+@media (min-width: 992px) {
+ .container {
+ width: 970px;
+ }
+}