/*
 Copyright (C) 2018 Christian Dywan <christian@twotoats.de>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 See the file COPYING for the full license text.
 */

body {
    background-color: #dedede;
    background-image: url(res:///data/logo-shade.svg);
    background-repeat: no-repeat;
    background-position: 90% 90%;
    color: #222222;
    font-family: -webkit-system-font, sans-serif;
    font-size: 14pt;
}

#columns {
    margin: 10% auto;
}

#icon {
    display: inline-block;
    vertical-align: top;
    text-align: right;
    width: 20%;
    margin-right: 5%;
}

#main {
    display: inline-block;
    vertical-align: top;
    width: 60%;
    margin-left: 1%;
}

h1 {
    font-size: 24pt;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
}

button span {
    vertical-align: middle;
    padding: 2pt 1pt;
}
button:empty {
    display: none;
}

.message {
    overflow: hidden;
    text-overflow: ellipsis;
}

.description {
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action {
    margin-top: 5%;
}

button {
    font-size: 14pt;
    text-align: right;
}

#grid {
    margin: auto auto;
}

.shortcut {
    width: 27%;
    max-width: 32%;
    height: 30%;
    margin: 1%;
    display: inline-table;
    box-sizing: border-box;
    overflow: hidden;
}

.shortcut a {
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
}

.shortcut a img {
    width: 50%;
    height: 50%;
    margin: auto;
    margin-bottom: .5em;
    display: block;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12),
                0 1px 2px rgba(0,0,0,0.24);
}

.shortcut a:hover img {
    box-shadow: 0 3px 5px rgba(0,0,0,0.24),
                0 3px 4px rgba(0,0,0,0.48);
}

.shortcut a .title {
    width: 90%;
    color: #222222;
    text-align: center;
    text-overflow: ellipsis;
    word-wrap: nowrap;
    max-height: 2em;
    line-height: 1em;
    overflow: hidden;
    display: block;
    font-size: 70%;
}
