Merge pull request #10 from fullhacker/dev-ayo

Dev ayo
This commit is contained in:
Ayo 2018-03-12 08:31:30 +08:00 committed by GitHub
commit bfba470dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,29 +1,29 @@
--- ---
# Only the main Sass file needs front matter (the dashes are enough) # only the main sass file needs front matter
--- ---
@import "minima"; @import "minima";
* { * {
text-shadow: 1px 1px 1px rgba(0,0,0,.004)!important; text-shadow: 1px 1px 1px rgba(0, 0, 0, .004)!important;
-webkit-font-smoothing: antialiased!important; -webkit-font-smoothing: antialiased!important;
-moz-osx-font-smoothing: grayscale!important; -moz-osx-font-smoothing: grayscale!important;
text-rendering: optimizelegibility!important; text-rendering: optimizelegibility!important;
} }
html, html,
body { body {
text-shadow: 0 1px 1px rgba(0,0,0,0.3); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
-webkit-font-feature-settings: "kern" 1; -webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1; font-feature-settings: "kern" 1;
font-kerning: normal; font-kerning: normal;
margin: 0; margin: 0;
color: rgba(0,0,0,.84); color: rgba(0, 0, 0, .84);
font-size: 20px; font-size: 20px;
line-height: 1.4; line-height: 1.4;
font-family: medium-content-sans-serif-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif; font-family: medium-content-sans-serif-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
letter-spacing: 0; letter-spacing: 0;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
@ -38,7 +38,7 @@ body {
} }
header.site-header { header.site-header {
background: rgba(141,191,66,.97)!important; background: rgba(141, 191, 66, .97)!important;
width: 100%; width: 100%;
} }
@ -47,7 +47,7 @@ footer.site-footer {
} }
.footer-site-title a { .footer-site-title a {
color: rgba(141,191,66,.97)!important; color: rgba(141, 191, 66, .97)!important;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
} }
@ -61,7 +61,7 @@ article .post-content p,
.home .post-excerpt p { .home .post-excerpt p {
--x-height-multiplier: 0.375; --x-height-multiplier: 0.375;
--baseline-multiplier: 0.17; --baseline-multiplier: 0.17;
font-family: medium-content-serif-font,Georgia,Cambria,"Times New Roman",Times,serif; font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
letter-spacing: .01rem; letter-spacing: .01rem;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
@ -79,11 +79,11 @@ article .post-content p,
margin: 0 auto; margin: 0 auto;
max-width: calc(100% - 60px); max-width: calc(100% - 60px);
} }
.post-title { .post-title {
--x-height-multiplier: 0.342; --x-height-multiplier: 0.342;
--baseline-multiplier: 0.22; --baseline-multiplier: 0.22;
font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Arial,sans-serif; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
letter-spacing: -.02em; letter-spacing: -.02em;
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
@ -110,7 +110,8 @@ article .post-content p,
font-weight: bold; font-weight: bold;
} }
.site-title:hover, .site-nav .page-link:hover { .site-title:hover,
.site-nav .page-link:hover {
text-decoration: none; text-decoration: none;
} }
@ -125,6 +126,7 @@ article .post-content p,
text-decoration: none; text-decoration: none;
color: #bb4a03 !important; color: #bb4a03 !important;
} }
.post-list li h3 a { .post-list li h3 a {
color: #222 !important; color: #222 !important;
font-weight: bold; font-weight: bold;
@ -133,26 +135,24 @@ article .post-content p,
.post-list li { .post-list li {
background-color: #fff; background-color: #fff;
box-shadow: 5px 25px 30px -25px rgba(34,34,34,.25); box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, .25);
padding: 20px; padding: 20px;
}
.jumbotron {
background: url('../assets/images/logo.png') no-repeat rgba(141,191,66,.97)!important;
width: 100%;
height: 100%;
box-shadow: 5px 25px 30px -25px rgba(34,34,34,0.25);
} }
.jumbotron #mc_embed_signup label{ .jumbotron {
background: url('../assets/images/logo.png') no-repeat rgba(141, 191, 66, .97)!important;
width: 100%;
height: 100%;
box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
}
.jumbotron #mc_embed_signup label {
text-align: center; text-align: center;
font-size: 36px; font-size: 36px;
color: #ffffff; color: #ffffff;
font-weight: bold; font-weight: bold;
margin: 0 0 20px 0; margin: 0 0 20px 0;
text-shadow: 0px 4px 3px rgba(0,0,0,0.4), text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1) !important;
0px 8px 13px rgba(0,0,0,0.1),
0px 18px 23px rgba(0,0,0,0.1) !important;
} }
.jumbotron-content { .jumbotron-content {
@ -165,6 +165,11 @@ article .post-content p,
width: 100%; width: 100%;
} }
#donate-form {
height: 50px;
padding: 30px 0;
}
#donate-form form { #donate-form form {
width: 145px; width: 145px;
margin: 0 auto; margin: 0 auto;
@ -194,8 +199,7 @@ article .post-content p,
clear: both; clear: both;
} }
.post-excerpt { .post-excerpt {}
}
.post-thumb { .post-thumb {
width: 240px; width: 240px;
@ -248,6 +252,7 @@ article .post-content p,
margin-left: -10px; margin-left: -10px;
margin-top: -20px; margin-top: -20px;
} }
.subscription-message-div { .subscription-message-div {
color: #ffffff; color: #ffffff;
background-color: #80ae3c; background-color: #80ae3c;
@ -290,7 +295,7 @@ main.page-content {
nav#side-nav { nav#side-nav {
width: calc(30% - 30px); width: calc(30% - 30px);
margin: 45px 0 30px; margin: 45px 0 30px;
box-shadow: 5px 25px 30px -25px rgba(34,34,34,.25); box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, .25);
} }
.side-panel { .side-panel {
@ -321,88 +326,72 @@ nav#side-nav {
} }
@media only screen and (min-width: 0px) and (max-width: 767px) { @media only screen and (min-width: 0px) and (max-width: 767px) {
.jumbotron { .jumbotron {
background: rgba(141,191,66,.97)!important; background: rgba(141, 191, 66, .97)!important;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
#mc_embed_signup input { #mc_embed_signup input {
width: 250px !important; width: 250px !important;
height: 50px !important; height: 50px !important;
padding: 10px !important; padding: 10px !important;
margin-bottom: 5px !important; margin-bottom: 5px !important;
} }
.jumbotron-content { .jumbotron-content {
width: calc(100% - 120px); width: calc(100% - 120px);
padding: 80px 60px; padding: 80px 60px;
} }
.page-content .wrapper { .page-content .wrapper {
max-width: 100%; max-width: 100%;
} }
main.page-content { main.page-content {
width: 100%; width: 100%;
padding: 0; padding: 0;
} }
nav#side-nav { nav#side-nav {
width: 100%; width: 100%;
margin: 0 0 30px; margin: 0 0 30px;
box-shadow: 5px 25px 30px -25px rgba(34,34,34,.25); box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, .25);
} }
.side-panel { .side-panel {
width: calc(100%-30px) !important; width: calc(100%-30px) !important;
margin: 0 15px; margin: 0 15px;
} }
.post-thumb { .post-thumb {
width: 100%; width: 100%;
} }
.jumbotron {
.jumbotron { background: rgba(141, 191, 66, .97)!important;
background: rgba(141,191,66,.97)!important;
width: 100%; width: 100%;
height: 100%; height: 100%;
box-shadow: 5px 25px 30px -25px rgba(34,34,34,0.25); box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
} }
.jumbotron-content { .jumbotron-content {
padding: 30px 0; padding: 30px 0;
} }
.post-list li h3 a { .post-list li h3 a {
font-size: 36px; font-size: 36px;
} }
#mc_embed_signup input { #mc_embed_signup input {
margin: 0 20px !important; margin: 0 20px !important;
width: calc(100% - 40px) !important; width: calc(100% - 40px) !important;
height: 50px !important; height: 50px !important;
padding: 10px !important; padding: 10px !important;
} }
.jumbotron-content #logo-div { .jumbotron-content #logo-div {
width: 100%; width: 100%;
} }
.jumbotron-content #mc_embed_signup { .jumbotron-content #mc_embed_signup {
width: 100%; width: 100%;
} }
.jumbotron-content { .jumbotron-content {
width: 100%; width: 100%;
} }
.site-nav { .site-nav {
background-color: rgba(141,191,66,.97)!important; background-color: rgba(141, 191, 66, .97)!important;
border: 1px solid hsla(0, 0%, 100%, .3) !important; border: 1px solid hsla(0, 0%, 100%, .3) !important;
} }
.site-nav .menu-icon > svg path { .site-nav .menu-icon>svg path {
fill: #ffffff; fill: #ffffff;
} }
} }
@ -414,13 +403,11 @@ nav#side-nav {
padding: 10px !important; padding: 10px !important;
margin-bottom: 5px !important; margin-bottom: 5px !important;
} }
.jumbotron-content { .jumbotron-content {
width: calc(100% - 100px); width: calc(100% - 100px);
padding: 60px 50px; padding: 60px 50px;
} }
.jumbotron { .jumbotron {
background: rgba(141,191,66,.97)!important; background: rgba(141, 191, 66, .97)!important;
} }
} }