menu-main.css
This file is used to style the main menu.
File
- 
              core/
profiles/ demo_umami/ themes/ umami/ css/ components/ navigation/ menu-main/ menu-main.css  
View source
- /**
 -  * @file
 -  * This file is used to style the main menu.
 -  */
 - 
 - .menu-main {
 -   margin: 0;
 -   padding: 0;
 -   list-style-type: none;
 -   color: #000;
 -   font-family: "Scope One", Georgia, serif;
 -   font-size: 1.266rem;
 -   font-weight: 400;
 -   line-height: 1.2;
 - }
 - .menu-main__item {
 -   margin-top: 0.8em;
 -   text-align: center;
 - }
 - .menu-main__link {
 -   display: inline-block;
 -   /* Margin required for focus outlines. */
 -   margin: 5px 3px;
 -   padding-bottom: 0.15em;
 -   transition: all 0.2s;
 -   text-decoration: none;
 -   color: inherit;
 -   border-bottom: solid 0.15em transparent;
 -   background-color: inherit;
 - }
 - .menu-main__link:hover,
 - .menu-main__link.is-active:hover,
 - .menu-main__link:focus {
 -   text-decoration: none;
 -   color: #da3c13;
 -   border-bottom-color: #da3c13;
 -   background-color: inherit;
 - }
 - .menu-main__link:active,
 - .menu-main__link.is-active {
 -   text-decoration: none;
 -   border-bottom-color: #da3c13;
 - }
 - 
 - @media screen and (min-width: 48em) {
 -   .menu-main {
 -     display: flex;
 -     flex-wrap: wrap;
 -     justify-content: flex-end;
 -   }
 -   .menu-main__item {
 -     margin-top: 0;
 -     margin-bottom: 0;
 -   }
 -   .menu-main__item + .menu-main__item {
 -     margin-left: 2.5em; /* LTR */
 -   }
 -   [dir="rtl"] .menu-main__item + .menu-main__item {
 -     margin-right: 2.5em;
 -     margin-left: 0;
 -   }
 - }
 - 
 - .menu-main__wrapper {
 -   flex: 0 1 100%;
 -   text-align: center;
 - }
 - 
 - @media screen and (min-width: 48em) {
 -   .menu-main__wrapper {
 -     flex-basis: calc(100% - 220px);
 -     flex-grow: 0;
 -     flex-shrink: 1;
 -     text-align: right;
 -   }
 - }
 - 
 - @media screen and (min-width: 48em) {
 -   .menu-main {
 -     display: flex;
 -     justify-content: flex-end;
 -   }
 - }
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.