@infopages_infobar-height: 64px; // Basic setup for info pages, this should be used at the global level .infopages_main () { min-height: 100vh; background-color: #FAFAFA; a { color: #FFF; //opacity: 0.8; //transition: opacity 0.2s; } a:hover { opacity: 1; } border: 0; padding: 0; margin: 0; font-size: 14px; font-family: 'Open Sans', 'Helvetica Neue', sans-serif; .cp-container { padding-top: @infopages_infobar-height; } }; .infopages_link () { text-decoration: none; color: #000; cursor: pointer; display: inline-flex; &:hover { transform: scale(1.05); } } // Apply this to the top bar div .infopages_topbar () { .cp-topbar { background: #fff; z-index: 9001; position: fixed; top: 0; display: flex; flex-direction: row; justify-content: space-between; align-items: center; box-sizing: border-box; width: 100%; height: @infopages_infobar-height; padding-left: 0.5em; padding-right: 0.5em; vertical-align: middle; font-size: 1.25em; line-height: 1.25em; cursor: default; user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; a { font-weight: 500; padding: 0.6em; .infopages_link() } } }