diff options
author | Qiu <qiu.gits@gmail.com> | 2018-05-23 21:09:10 +0300 |
---|---|---|
committer | Qiu <qiu.gits@gmail.com> | 2018-05-23 21:09:10 +0300 |
commit | 0c5c1ebeff25298937e46fde46f198719b968493 (patch) | |
tree | 62fae1fd465ebab5135e44b009535ef5b61de4a7 /static | |
parent | 98c9a10408631355efb08ddb34196498476cf7e2 (diff) |
Fix to be responsible
Diffstat (limited to 'static')
-rw-r--r-- | static/assets/style.css | 27 |
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; + } +} |