/** * variables * */ $text-color: #000; $link-color: #fefe5b; $link-background-color: #008106; $background-color: #000084; $background-contrast-color: #bbbbbb; /** * default elements * */ body { color: $text-color; background-color: $background-color; font-family: 'PxPlus IBM VGA8', sans-serif; font-style: normal; font-size: 1.2rem; } *:first-letter { color: $link-color; } a { color: $text-color; text-decoration: none; } /** * navigation * * */ .navbar { position: fixed; top: 0; left: 0; width: 100%; text-align: center; background-color: $background-contrast-color; ul { list-style: none; margin: 0; padding: 0.6em 0.8em; li { display: inline-block; a { display: inline-block; padding: 0.1em; &:hover { background-color: $link-background-color; } } &.current { a { background-color: $link-background-color; } } } } } /** * * */ main { max-width: 960px; margin: 2em auto 0; } /** * footer * * */ footer { text-align: center; font-size: 3rem; width: 100%; background: #000; padding: 0.8em 0; i { color: #fff !important; } } /** * section * * */ .section { padding: 4em; margin: 1em 0; line-height: 1.8; background-color: $background-contrast-color; } /** * icons * * */ [class^="icon-tiny"], [class*=" icon-tiny"] { font-family: 'PxPlus IBM VGA8', sans-serif !important; font-style: normal; color: $link-color; } /** * tiny-tiny-hamburger * * */ .tiny-one-page { &__inner { padding: 4px 8px 5px; } // modal with animation &__modal { height: auto; max-height: 0; overflow: hidden; transition: max-height 0.2s; } &__button { appearance: none; border: none; background: transparent; padding: 0.3em 0.5em; &:hover { cursor: pointer; outline: none; background-color: $background-contrast-color; } &:focus { outline: none; } } }