view default/static/styles.css @ 61:f76ec90e0e1e

base: menus handling, first draft: this is a very basic way to handle menu (big buttons on the top), just a first draft to be able to navigate.
author Goffi <goffi@goffi.org>
date Sat, 11 Nov 2017 00:16:35 +0100
parents a5dc14675d5e
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;
}