Mercurial > libervia-templates
view default/static/styles.css @ 62:e7b62f6980a1
ticket: added menus
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Nov 2017 00:17:01 +0100 |
parents | f76ec90e0e1e |
children | 9834106678da |
line wrap: on
line source
html { font-family: "sat-base-font"; } body { display: flex; height: 100vh; flex-direction: column; box-sizing: border-box; margin: 0; } #body { flex: 1; } footer { text-align: center; font-size: 0.7em; font-weight: bold; } .box { background-color: #edf2ff; border-radius: 0; } @media (min-width: 500px) { html { background-size: auto; } body { padding: 8px; } .box { border-radius: 1em; box-shadow: 10px 10px 16px -5px rgba(0,0,0,0.5); } } .title { font-weight: bold; text-align: center; } .post_confirm { text-align: center; background-color: lightgreen; padding: 1em; font-size: 1.2em; font-weight: bold; width: 60%; margin: 1.5em auto; } /* generic */ .button:hover { background-color: #bc0000; } /* Menus */ .menu ul { display: flex; justify-content: center; margin-top: 8px; padding: 0; list-style: none; } .menu li { margin: 0.5em; text-align: center; } .menu a { color: inherit; text-decoration: none; border: solid 1px; padding: 0.5em; font-variant: small-caps; border-radius: 1em; background: #eee; } .menu a:hover { } /* Forms */ .form_submit { margin: 1em auto 0; display: block; } /* XMLUI */ .xmlui_cont_vertical>* { display: block; box-sizing: border-box; } .xmlui_cont_vertical>.xmlui_widget { width: 100%; min-height: 1em; min-width: 1px; } label.xmlui_label { font-weight: bold; } td a { /* we use <a> for non JS links in table * so we don't want specific color/text-decoration by default */ color: inherit; text-decoration: inherit; }