blog/assets/main.scss
2018-02-06 06:32:53 +08:00

149 lines
3.3 KiB
SCSS

---
# Only the main Sass file needs front matter (the dashes are enough)
---
@import "minima";
html,
body {
-webkit-box-shadow: inset 0 3px 50px rgba(0,0,0,0.3);
-moz-box-shadow: inset 0 3px 50px rgba(0,0,0,0.3);
box-shadow: inset 0 3px 50px rgba(0,0,0,0.3);
/* text-shadow: 0 1px 1px rgba(0,0,0,0.3); */
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
margin: 0;
color: rgba(0,0,0,.84);
font-size: 20px;
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;
letter-spacing: 0;
font-weight: 400;
font-style: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
header.site-header,
.jumbotron {
background: rgba(141,191,66,.97)!important;
width: 100%;
}
footer.site-footer {
background: #fff;
}
.footer-site-title a {
color: rgba(141,191,66,.97)!important;
text-transform: uppercase;
font-weight: bold;
}
.site-header {
border: 0px !important;
border-bottom: 1px solid hsla(0, 0%, 100%, .3) !important;
}
article .post-content p {
--x-height-multiplier: 0.375;
--baseline-multiplier: 0.17;
font-family: medium-content-serif-font,Georgia,Cambria,"Times New Roman",Times,serif;
letter-spacing: .01rem;
font-weight: 400;
font-style: normal;
font-size: 21px;
line-height: 1.58;
letter-spacing: -.003em;
margin-top: 29px;
}
.page-content .wrapper {
padding: 0 20px;
margin: 0 auto;
max-width: calc(700px - 60px);
}
.post-title {
--x-height-multiplier: 0.342;
--baseline-multiplier: 0.22;
font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Arial,sans-serif;
letter-spacing: -.02em;
font-weight: 700;
font-style: normal;
letter-spacing: 0;
font-size: 34px;
margin-left: -2.63px;
line-height: 1.04;
letter-spacing: -.015em;
padding-top: 5px!important;
}
.desc-list {
list-style: none;
margin: 0;
}
.wrapper {
max-width: 1000px;
}
.site-title {
text-transform: uppercase;
color: #ffffff !important;
font-weight: bold;
}
.site-title:hover, .site-nav .page-link:hover {
text-decoration: none;
}
.site-nav .page-link {
color: #ffffff !important;
text-transform: uppercase;
font-size: 16px;
font-weight: bold;
}
.jumbotron #mc_embed_signup label{
text-align: center;
font-size: 36px;
color: #ffffff;
font-weight: bold;
margin: 0 0 20px 0;
}
.jumbotron {
padding: 80px 0;
}
#mc_embed_signup input {
padding: 15px !important;
font-size: 16px !important;
height: 60px !important;
border-radius: 3.2px !important;
}
#mc_embed_signup .button {
background-color: #ee4a03 !important;
}
@media screen and (max-width: 600px) {
.jumbotron #mc_embed_signup label{
font-size: 24px;
}
#mc_embed_signup input {
margin: 0 20px !important;
width: calc(100% - 40px) !important;
}
.site-nav {
background-color: rgba(141,191,66,.97)!important;
border: 1px solid hsla(0, 0%, 100%, .3) !important;
}
.site-nav .menu-icon > svg path {
fill: #ffffff;
}
}