移动端适配:增加边距,

master
孙艺岭 2 years ago
parent de86f9a536
commit c58f6dea10
  1. 17
      elevatechiropractic/css/main_style.css@1668557592.css
  2. 2
      elevatechiropractic/index.html

@ -4,7 +4,7 @@
a { text-decoration: none; }
body { font-family: 'Open Sans', Helvetica, sans-serif; background:#242424; }
.container { margin: 0 auto; width: 960px; }
#header-wrap, #banner-wrap, #nav-wrap, #main-wrap, #footer-wrap, #total-wrap { width:100%; min-width:960px; }
#header-wrap, #banner-wrap, #nav-wrap, #main-wrap, #footer-wrap, #total-wrap { width:100%;}
#header-wrap, #banner-wrap, #main-wrap, #footer-wrap, #total-wrap { background:#fff; }
div.paragraph a, h2 a, .blog-comments-bottom a { color: #00adef; border-bottom:1px solid #bdbdbd; }
p a, h2 a, .blog-comments-bottom a { color: #00adef; border-bottom:1px solid #bdbdbd; }
@ -110,7 +110,7 @@
#wsite-menus .wsite-menu li { border:none; }
#wsite-menus .wsite-menu li a { border-left:none; border-right:none; }
#wsite-menus .wsite-menu li a:hover { color: #757575; background:#fff ; }
#main-wrap .container { padding:50px 0; }
#main-wrap .container { padding:50px 30px; }
.blog-post .blog-separator {display:none;}
.blog-post .blog-header { margin-bottom:20px !important; }
.blog-sidebar h2 { padding:1em 0 .3em; }
@ -178,3 +178,16 @@ div.paragraph ul, div.paragraph ol { padding-left: 3em !important; margin: 5px 0
div.paragraph li { padding-left: 5px !important; margin: 3px 0 0 !important; }
div.paragraph ul, div.paragraph ul li { list-style: disc outside !important; }
div.paragraph ol, div.paragraph ol li { list-style: decimal outside !important; }
@media (max-width:780px) {
.el-content{
display: flex;
flex-direction: column;
}
}
@media (max-width:580px) {
.el-content{
display: flex;
flex-direction: column;
padding: 0 30px;
}
}

@ -62,7 +62,7 @@
<div class="container">
<div class="wsite-elements wsite-not-footer">
<table id="blogTable" class="wsite-not-footer" style="border: 0; width: 100%; table-layout: fixed">
<tr>
<tr class="el-content">
<td valign="top">
<div id="592401098488918427-blog" class="blog-body" style="float: left;">
{{ range .Articles }}

Loading…
Cancel
Save