diff --git a/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/Site.css b/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/Site.css index 37700e3651..748427cf3f 100644 --- a/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/Site.css +++ b/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/Site.css @@ -104,18 +104,18 @@ h5, h6 { padding-bottom: 35px; } - .main-content { - background: url("../Images/accent.png") no-repeat; - padding-left: 10px; - padding-top: 30px; - } +.main-content { + background: url("../Images/accent.png") no-repeat; + padding-left: 10px; + padding-top: 30px; +} - .featured + .main-content { - background: url("../Images/heroAccent.png") no-repeat; - } +.featured + .main-content { + background: url("../Images/heroAccent.png") no-repeat; +} header .content-wrapper { - padding-top: 20px; + padding-top: 20px; } footer { @@ -137,12 +137,12 @@ footer { margin: 0; } -.site-title a, .site-title a:hover, .site-title a:active { - background: none; - color: #c8c8c8; - outline: none; - text-decoration: none; -} + .site-title a, .site-title a:hover, .site-title a:active { + background: none; + color: #c8c8c8; + outline: none; + text-decoration: none; + } /* login @@ -162,12 +162,12 @@ footer { text-decoration: none; } - #login a.username { - background: none; - margin: 0; - padding: 0; - text-decoration: underline; - } + #login a.username { + background: none; + margin: 0; + padding: 0; + text-decoration: underline; + } #login ul { margin: 0; @@ -201,10 +201,10 @@ ul#menu { text-decoration: none; } - ul#menu li a:hover { - color: #333; - text-decoration: none; - } + ul#menu li a:hover { + color: #333; + text-decoration: none; + } /* page elements @@ -225,27 +225,27 @@ ul#menu { padding: 20px 40px 30px 40px; } - .featured hgroup.title h1, .featured hgroup.title h2 { - color: #fff; - } + .featured hgroup.title h1, .featured hgroup.title h2 { + color: #fff; + } - .featured p { - font-size: 1.1em; - } + .featured p { + font-size: 1.1em; + } /* page titles */ hgroup.title { margin-bottom: 10px; } -hgroup.title h1, hgroup.title h2 { - display: inline; -} + hgroup.title h1, hgroup.title h2 { + display: inline; + } -hgroup.title h2 { - font-weight: normal; - margin-left: 3px; -} + hgroup.title h2 { + font-weight: normal; + margin-left: 3px; + } /* features */ section.feature { @@ -357,12 +357,12 @@ aside { width: 250px; } - #loginForm input[type="checkbox"], - #loginForm input[type="submit"], - #loginForm input[type="button"], - #loginForm button { - width: auto; - } + #loginForm input[type="checkbox"], + #loginForm input[type="submit"], + #loginForm input[type="button"], + #loginForm button { + width: auto; + } #socialLoginForm { margin-left: 40px; @@ -371,7 +371,7 @@ aside { } #socialLoginForm h2 { - margin-bottom: 5px; + margin-bottom: 5px; } #socialLoginList button { @@ -422,9 +422,9 @@ label { font-weight: 600; } -label.checkbox { - display: inline; -} + label.checkbox { + display: inline; + } input, textarea { border: 1px solid #e2e2e2; @@ -445,32 +445,32 @@ textarea { border: 1px solid #7ac0da; } - input[type="checkbox"] { - background: transparent; - border: inherit; - width: auto; - } +input[type="checkbox"] { + background: transparent; + border: inherit; + width: auto; +} - input[type="submit"], - input[type="button"], - button { - background-color: #d3dce0; - border: 1px solid #787878; - cursor: pointer; - font-size: 1.2em; - font-weight: 600; - padding: 7px; - margin-right: 8px; - width: auto; - } +input[type="submit"], +input[type="button"], +button { + background-color: #d3dce0; + border: 1px solid #787878; + cursor: pointer; + font-size: 1.2em; + font-weight: 600; + padding: 7px; + margin-right: 8px; + width: auto; +} - td input[type="submit"], - td input[type="button"], - td button { - font-size: 1em; - padding: 4px; - margin-right: 4px; - } +td input[type="submit"], +td input[type="button"], +td button { + font-size: 1em; + padding: 4px; + margin-right: 4px; +} /* info and errors */ .message-info { @@ -548,36 +548,36 @@ th { position: relative; } - th a:link, th a:visited, th a:active, th a:hover { - color: #333; - font-weight: 600; - text-decoration: none; - padding: 0; - } + th a:link, th a:visited, th a:active, th a:hover { + color: #333; + font-weight: 600; + text-decoration: none; + padding: 0; + } - th a:hover { - color: #000; - } + th a:hover { + color: #000; + } th.asc a, th.desc a { margin-right: .75em; } - th.asc a:after, th.desc a:after { - display: block; - position: absolute; - right: 0em; - top: 0; - font-size: 0.75em; - } + th.asc a:after, th.desc a:after { + display: block; + position: absolute; + right: 0em; + top: 0; + font-size: 0.75em; + } - th.asc a:after { - content: '▲'; - } + th.asc a:after { + content: '▲'; + } - th.desc a:after { - content: '▼'; - } + th.desc a:after { + content: '▼'; + } td { padding: 0.25em 2em 0.25em 0em; @@ -634,9 +634,9 @@ tr.pager td { padding: 0; } - #login a:hover { - color: #333; - } + #login a:hover { + color: #333; + } /* menu */ nav { @@ -701,12 +701,12 @@ tr.pager td { background: none; } - /* features */ - section.feature { + /* features */ + section.feature { float: none; padding: 10px; width: auto; - } + } section.feature img { color: #999; diff --git a/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/style.css b/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/style.css index db8d856519..42a5318714 100644 --- a/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/style.css +++ b/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Content/style.css @@ -102,7 +102,7 @@ } .senparc-jumbotron { - background: url(/images/v2/background.png); + background: url(../images/v2/background.png); width: 100%; padding: 28px 0 0 0; } @@ -205,6 +205,10 @@ clear: left; }*/ +a.qqGroup_tip { + text-decoration: underline; +} + .catalog { background: #E7EEF1; text-align: center; @@ -1237,6 +1241,10 @@ p.crowdfunding-note { } @media screen and (min-width:375px) and (max-width:767px) { + #noticearea { + display: none; + } + .content { max-width: 100%; } diff --git a/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Scripts/global.js b/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Scripts/global.js index 9b383061c7..b600ebd624 100644 --- a/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Scripts/global.js +++ b/Samples/net45-mvc/Senparc.Weixin.MP.Sample/Scripts/global.js @@ -9,7 +9,7 @@ $(function () { }); var noticeareaHeight = $('#noticearea').height(); - var noticeareaHeight_shrink = noticeareaHeight * 2 / 4; + var noticeareaHeight_shrink = noticeareaHeight * 2 / 3; $('#noticearea').animate({ height: noticeareaHeight_shrink }, 1000); $('#noticearea').hover(function () { if (noticeareaHeightChanging) { @@ -47,11 +47,17 @@ function loadQQGroups() { $('