Last active
October 16, 2019 08:19
-
-
Save skounis/7fbd9a9b1d0b03a1a099e6c3ab667083 to your computer and use it in GitHub Desktop.
Drupalizing Demos Menu - Live CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* MT Demos Menu styles | |
* Add any module related style here | |
*/ | |
.mt_demosmenu { | |
display: flex; | |
flex-direction: row; | |
flex-wrap: nowrap; | |
justify-content: space-evenly; | |
align-items: stretch; | |
} | |
.mt_demosmenu__menu { | |
display: flex; | |
flex-direction: row; | |
flex-wrap: nowrap; | |
justify-content: space-evenly; | |
align-items: stretch; | |
flex-grow: 1; | |
} | |
ul.mt_demosmenu__menu { | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
.mt_demosmenu__menu-item { | |
flex-grow: 1; | |
background: red; | |
} | |
.mt_demosmenu__menu-item a { | |
display: inline-block; | |
width: 100%; | |
text-align: center; | |
padding: 1em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment