view booket.css @ 27:780a8c711ff7 version-5

Release version 5
author Guido Berhoerster <guido+booket@berhoerster.name>
date Mon, 06 Oct 2014 13:55:02 +0200
parents 8c2f3e72d514
children
line wrap: on
line source

/*
 * Copyright (C) 2014 Guido Berhoerster <guido+booket@berhoerster.name>
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

html {
    color: #000000;
    background-color: #ffffff;
    font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
    max-width: 70em;
    margin: 0 auto;
}

fieldset {
    border: none;
    border-top: 1px solid #888a85;
}

legend {
    font-size: .75em;
    font-weight: bold;
}

label {
    display: block;
}

kbd {
    display: inline-block;
    font-family: Courier, monospace;
    background-color: #fdfdfb;
    border: thin solid #babdb6;
    box-shadow: inset 0 1px 0 0 #ffffff, inset 0 -1px 0 0 #babdb6;
    border-radius: .25em;
    padding: .125em .5em;
    white-space: nowrap;
}

img {
    border: none;
}

strong {
    font-weight: bold;
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

h2 {
    font-size: 1.5em;
    margin: .75em 0
}

h3 {
    font-size: 1.17em;
    margin: .83em 0
}

h1, h2, h3 {
    font-weight: bolder
}

section,
main,
footer {
    clear: both;
}

footer {
    clear: both;
    margin: 1em 0 0 0;
    padding: .5em 0 0 0;
    border-top: 1px solid #888a85;
    font-size: .75em;
}

address {
    font-style: inherit;
    color: #555753;
}

address :link,
address :visited {
    text-decoration: underline;
    color: inherit;
}

header h1 {
    display: inline-block;
    margin: 0 .25em 0 0;
}

header h1 ~ p {
    display: inline-block;
    margin: 0;
    font-weight: bold;
}

.expander > .expander-label {
    cursor: pointer;
}

.expander > .expander-label::before {
    content: "\25B6";
    margin-right: .5em;
}

.expander[data-expander-open] > .expander-label::before {
    content: "\25BC";
    margin-right: .5em;
}

.expander:not([data-expander-open]) > :not(.expander-label) {
    display: none;
}

#logo {
    height: 2em;
}

#keyboard-shortcuts {
    display: none;
    padding: .5em;
    font-size: .75em;
    background: rgba(251, 251, 249, .75);
    border: 1px solid #d3d7cf;
    border-radius: .5em;
    box-shadow: 2px 2px 20px 4px rgba(0, 0, 0, .25);
}

#keyboard-shortcuts[data-overlay-visible] {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.unsaved-changes-message {
    color: #a40000;
    background-color: rgba(239, 41, 41, .25);
    border: 1px solid #a40000;
    border-radius: .5em;
    padding: .5em;
    font-size: .75em;
}

#actions {
    margin: 1em 0 0 0;
}

#actions > h2 {
    display: none;
}

#actions form ~ form {
    margin: 1em 0 0 0;
}

#actions input[type="text"],
#actions input[type="file"],
#actions input[type="url"],
#actions textarea,
.bookmark-editor-form input[type="text"],
.bookmark-editor-form input[type="file"],
.bookmark-editor-form input[type="url"],
.bookmark-editor-form textarea {
    display: block;
}

#actions label.top-label {
    font-weight: bold;
}

#actions label,
.bookmark-editor-form label {
    font-size: .75em;
}

form.bookmark-editor-form img.bookmark-favicon {
    display: block;
    padding: 1px 0;
}

#bookmarklet {
    float: right;
    border: 1px solid #d3d7cf;
    border-radius: .5em;
    padding: .5em;
    margin: 0 0 1em 1em;
    font-size: .75em;
}

a#bookmarklet-link {
    display: block;
    margin: 1em 0 0 0;
}

a#bookmarklet-link:link,
a#bookmarklet-link:visited,
a#bookmarklet-link:link:hover,
a#bookmarklet-link:link:focus,
a#bookmarklet-link:link:active,
a#bookmarklet-link:visited:hover,
a#bookmarklet-link:visited:focus,
a#bookmarklet-link:visited:active {
    color: #000000;
    text-decoration: underline;
}

#bookmarklet h3,
#keyboard-shortcuts h3 {
    font-size: 1em;
    text-align: center;
    margin: 0;
}

#keyboard-shortcuts dl {
    margin: 1em 0 0 0;
}

#keyboard-shortcuts dd {
    margin: .25em 0 0 0;
}

#keyboard-shortcuts dd ~ dt {
    margin: .5em 0 0 0;
}

#bookmarks {
    margin: 1em 0 0 0;
}

#bookmarks h2 {
    margin: 0;
}

#tags,
#search,
#bookmark-message,
#bookmark-list {
    margin: .5em 0 0 0;
}

#tags h3,
#search h3 {
    display: none;
}

#tags label {
    display: block;
    margin: .25em 0 0 0;
    font-size: .75em;
}

ul.tag-cloud .tag-frequency-1 * {
    font-size: 1em;
}

ul.tag-cloud .tag-frequency-2 * {
    font-size: 1.25em;
}

ul.tag-cloud .tag-frequency-3 * {
    font-size: 1.5em;
}

ul.tag-cloud .tag-frequency-4 * {
    font-size: 1.75em;
}

ul.tag-cloud .tag-frequency-5 * {
    font-size: 2em;
}

ul.tag-cloud .tag-frequency-6 * {
    font-size: 2.25em;
}

ul.tag-cloud .tag-frequency-7 * {
    font-size: 2.5em;
}

ul.tag-cloud .tag-frequency-8 * {
    font-size: 2.75em;
}

ul.tag-cloud .tag-frequency-9 * {
    font-size: 3em;
}

ul.tag-cloud .tag-frequency-10 * {
    font-size: 3.25em;
}

ul.tag-input-list,
ul.tag-list {
    margin: 0;
    padding: 0;
}

ul#bookmark-list {
    padding: 0;
}

ul.tag-input-list li,
ul.tag-list li,
ul#bookmark-list > li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.tag-list li {
    display: inline-block;
    border: 1px solid #c4a000;
    border-radius: .25em;
    padding: .1em;
    background-color: #fce94f;
    margin: .25em .25em 0 0;
    white-space: nowrap;
    font-size: .75em;
}

ul.tag-list button {
    color: #000000;
    background-color: transparent;
    border: thin solid transparent;
    border-radius: .1em;
    padding: .1em;
    margin: 0 .1em;
    cursor: pointer;
}

ul.tag-list button:hover,
ul.tag-list button:focus,
ul.tag-list button:active {
    border: thin solid #deba1a;
    background-color: #ffff69;
}

ul.tag-list li.active-filter-tag {
    border: thin solid #4e9a06;
    background-color: #8ae234;
}

ul.tag-list li.active-filter-tag button:hover,
ul.tag-list li.active-filter-tag button:focus,
ul.tag-list li.active-filter-tag button:active {
    border: thin solid #68b420;
    background-color: #a4fc4e;
}

ul#bookmark-list > li {
    border-top: 1px solid #888a85;
    padding: .25em 0 0 0;    
}

ul#bookmark-list > li p {
  margin: 0;
  display: inline-block;
}

ul#bookmark-list > li ~ li {
    margin: .25em 0 0 0;    
}

ul#bookmark-list ul.tag-list {
    max-width: 33%;
    float: right;
    margin: 0 0 .25em .25em;
}

ul#bookmark-list ul.tag-list > li {
    float: right;
}

ul#bookmark-list > li::after {
    display: block;
    content: '';
    clear: right;
}

ul#bookmark-list .bookmark-editor-form {
    margin: .5em;
}

ul#bookmark-list .bookmark-editor-form fieldset {
    border-top: 1px solid #d3d7cf;
}

a.bookmark-link:link,
a.bookmark-link:visited {
    color: #001754;
    font-weight: bold;
    text-decoration: underline;
}

a.bookmark-link:link:hover,
a.bookmark-link:link:focus,
a.bookmark-link:link:active,
a.bookmark-link:visited:hover,
a.bookmark-link:visited:focus,
a.bookmark-link:visited:active {
    color: #07316e;
}

.bookmark-hostname,
.bookmark-metadata {
    color: #555753;
    font-size: .75em;
}

.bookmark-actions {
    margin-left: 1.5em;
}

dl.bookmark-metadata {
    margin: .25em 0 0 2em;
}

dl.bookmark-metadata dt {
    font-weight: bold;
}

dl.bookmark-metadata dt::after {
    content: ':';
}

dl.bookmark-metadata dd {
    margin: 0;
    padding: 0;
}