Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ------------------------------------------------------------ *\
- Base
- \* ------------------------------------------------------------ */
- html {
- @include fluid-type($font-size-base, 1.5);
- }
- body {
- min-width: 320px;
- background: #F5F0E6;
- font-family: $ff-sans-serif;
- font-weight: $font-weight-base;
- font-size: 2.4rem;
- line-height: $line-height-base;
- color: $c-green;
- @include breakpoint-down(tablet) {
- font-size: 16px;
- }
- }
- a {
- color: inherit;
- text-decoration: underline;
- &:hover {
- color: $c-orange;
- }
- }
- .h1,
- h1,
- .h2,
- h2,
- .h3,
- h3,
- .h4,
- h4,
- .h5,
- h5,
- .h6,
- h6 {
- font-family: $ff-sans-serif2;
- font-weight: 500;
- margin-bottom: calc(#{$line-height-base}em / 2);
- line-height: 1.2;
- }
- .h1,
- h1 {
- font-size: 7.6rem;
- letter-spacing: .140em;
- margin-bottom: 20px;
- @include breakpoint-down(tablet) {
- font-size: 36px;
- }
- }
- .h2,
- h2 {
- font-size: 7.6rem;
- letter-spacing: .140em;
- margin-bottom: 20px;
- @include breakpoint-down(tablet) {
- font-size: 36px;
- }
- }
- .h3,
- h3 {
- font-size: 5rem;
- letter-spacing: .120em;
- @include breakpoint-down(tablet) {
- font-size: 30px;
- }
- }
- .h4,
- h4 {
- font-size: 3.6rem;
- @include breakpoint-down(tablet) {
- font-size: 28px;
- }
- }
- .h5,
- h5 {
- font-size: 2.8rem;
- @include breakpoint-down(tablet) {
- font-size: 22px;
- }
- }
- .h6,
- h6 {
- font-size: 2.2rem;
- @include breakpoint-down(tablet) {
- font-size: 18px;
- }
- }
- p,
- ul,
- ol,
- dl,
- hr,
- table,
- blockquote {
- margin-bottom: #{$line-height-base}em;
- }
- h1[class],
- h2[class],
- h3[class],
- h4[class],
- h5[class],
- h6[class],
- h1:last-child,
- h2:last-child,
- h3:last-child,
- h4:last-child,
- h5:last-child,
- h6:last-child,
- p:last-child,
- ul:last-child,
- ol:last-child,
- dl:last-child,
- table:last-child,
- blockquote:last-child {
- margin-bottom: 0;
- }
- a,
- button,
- input[type="submit"],
- input[type="button"] {
- @include transitionsBase;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement