base.css
This is the base CSS file, for styling elements.
File
- 
              core/
profiles/ demo_umami/ themes/ umami/ css/ base.css  
View source
- /**
 -  * @file
 -  * This is the base CSS file, for styling elements.
 -  */
 - 
 - @font-face {
 -   font-family: "Source Sans Pro";
 -   src:
 -     local("Source Sans Pro"),
 -     url("../fonts/source-sans-pro-v21-latin-regular.woff2") format("woff2");
 -   font-weight: 400;
 -   font-style: normal;
 - }
 - 
 - @font-face {
 -   font-family: "Source Sans Pro";
 -   src:
 -     local("Source Sans Pro"),
 -     url("../fonts/source-sans-pro-v21-latin-italic.woff2") format("woff2");
 -   font-weight: 400;
 -   font-style: italic;
 - }
 - 
 - @font-face {
 -   font-family: "Source Sans Pro";
 -   src:
 -     local("Source Sans Pro"),
 -     url("../fonts/source-sans-pro-v21-latin-700.woff2") format("woff2");
 -   font-weight: 700;
 -   font-style: normal;
 - }
 - 
 - @font-face {
 -   font-family: "Source Sans Pro";
 -   src:
 -     local("Source Sans Pro"),
 -     url("../fonts/source-sans-pro-v21-latin-700italic.woff2") format("woff2");
 -   font-weight: 700;
 -   font-style: italic;
 - }
 - 
 - @font-face {
 -   font-family: "Scope One";
 -   src:
 -     local("Scope One"),
 -     local("ScopeOne-Regular"),
 -     url("../fonts/scope-one-v14-latin-regular.woff2") format("woff2");
 -   font-weight: 400;
 -   font-style: normal;
 - }
 - 
 - html {
 -   box-sizing: border-box;
 - }
 - *,
 - *::before,
 - *::after {
 -   box-sizing: inherit;
 -   margin-top: 0; /* This allows us to ensure that items side-by-side line up nicely. */
 - }
 - 
 - *:focus {
 -   outline-width: 1px;
 -   outline-style: dotted;
 -   outline-color: #008068;
 -   outline-offset: 2px;
 - }
 - 
 - a {
 -   text-decoration: underline;
 -   color: #008068;
 - }
 - a:hover,
 - a:focus {
 -   color: #cc2a00;
 -   background-color: #e6eee0;
 - }
 - 
 - body {
 -   margin: 0;
 -   color: #464646;
 -   background: #fbf5ee;
 -   font-family: "Source Sans Pro", Verdana, sans-serif;
 -   font-size: 1rem;
 -   line-height: 1.5rem;
 - }
 - 
 - h1,
 - h2,
 - h3,
 - h4,
 - h5,
 - h6 {
 -   font-weight: 400;
 - }
 - 
 - blockquote {
 -   margin: 0 0 1.28rem;
 -   padding: 1.5rem;
 -   background: #f4f2e9;
 - }
 - blockquote p:last-child {
 -   margin-bottom: 0;
 - }
 - /* Small */
 - @media screen and (min-width: 30rem) {
 -   /* 480px */
 -   blockquote {
 -     margin: 0 1.5rem 1.28rem;
 -     padding: 1.5rem;
 -   }
 - }
 - /* Medium */
 - @media screen and (min-width: 40rem) {
 -   /* 640px */
 -   blockquote {
 -     margin: 0 2.5rem 1.28rem;
 -     padding: 3rem;
 -   }
 - }
 - blockquote > * {
 -   color: #000;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 1.266rem;
 -   line-height: 1.5;
 - }
 - blockquote a {
 -   /* Tweak default link color to improve contrast for accessibility */
 -   color: #057d6d;
 - }
 - blockquote a:hover,
 - blockquote a:focus {
 -   background-color: #fdfcf9;
 - }
 - 
 - h1 {
 -   margin: 0 0 1.07rem 0;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 1.424rem; /* +3 based on 1.125 modular scale (major second) */
 -   line-height: 1.2;
 - }
 - /* Large */
 - @media screen and (min-width: 60rem) {
 -   /* 960px */
 -   h1 {
 -     font-size: 2.369rem;
 -   }
 - }
 - 
 - h2 {
 -   margin: 0 0 0.7rem 0;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 1.266rem; /* +2 based on 1.125 modular scale (major second) */
 -   line-height: 1.2;
 - }
 - /* Large */
 - @media screen and (min-width: 60rem) {
 -   /* 960px */
 -   h2 {
 -     font-size: 1.77rem;
 -   }
 - }
 - 
 - h3 {
 -   margin: 0 0 0.96rem 0;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 1.125rem;
 -   line-height: 1.2; /* +1 based on 1.125 modular scale (major second) */
 - }
 - /* Large */
 - @media screen and (min-width: 60rem) {
 -   /* 960px */
 -   h3 {
 -     font-size: 1.5rem;
 -   }
 - }
 - 
 - h4 {
 -   margin: 0 0 1.28rem 0;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 1rem;
 -   line-height: 1.2;
 - }
 - /* Large */
 - @media screen and (min-width: 60rem) {
 -   /* 960px */
 -   h4 {
 -     font-size: 1.33rem;
 -   }
 - }
 - 
 - h5 {
 -   margin: 0 0 1.28rem 0;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 0.889rem; /* -1 based on 1.125 modular scale (major second) */
 -   line-height: 1.2;
 - }
 - /* Large */
 - @media screen and (min-width: 60rem) {
 -   /* 960px */
 -   h5 {
 -     font-size: 1.25rem;
 -   }
 - }
 - 
 - h6 {
 -   margin: 0 0 1.28rem 0;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 0.79rem; /* -1 based on 1.125 modular scale (major second) */
 -   line-height: 1.2;
 - }
 - /* Large */
 - @media screen and (min-width: 60rem) {
 -   /* 960px */
 -   h6 {
 -     font-size: 1rem;
 -   }
 - }
 - 
 - img {
 -   max-width: 100%;
 -   height: auto;
 - }
 - 
 - /**
 -  * Prevent regression due to fieldset styling that was removed in normalize.css
 -  * 6.0.0.
 -  */
 - fieldset {
 -   margin: 0 2px;
 -   padding: 0.35em 0.625em 0.75em;
 -   border: 1px solid #c0c0c0;
 - }
 - 
 - /**
 -  * Prevent regression due to explicit line-height applied to these elements in
 -  * normalize.css 7.0.0.
 -  */
 - button,
 - textarea {
 -   line-height: 1.5rem;
 - }
 - optgroup,
 - input:not([type="file"]) {
 -   line-height: normal;
 - }
 - 
 - /**
 -  * Prevent regression due to changes in normalize.css 4.1.0.
 -  */
 - ::-webkit-file-upload-button {
 -   -webkit-appearance: push-button;
 -   font-family: Arial, Helvetica, sans-serif;
 -   font-size: 1em;
 - }
 - 
 - ul,
 - ol {
 -   margin-bottom: 1.28rem;
 - }
 - ol ol,
 - ol ul,
 - ul ul,
 - ul ol {
 -   margin-top: 0;
 -   margin-bottom: 0;
 - }
 - 
 - p {
 -   margin-bottom: 1.28rem;
 - }
 - 
 - /**
 -  * Prevent regression table/td/th rules removed in normalize.css 7.0.0.
 -  */
 - table {
 -   border-collapse: collapse;
 - }
 - td,
 - th {
 -   padding: 0;
 - }
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.