html4.css   [plain text]


/*
 * The default style sheet used to render HTML.
 *
 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 */

@namespace "http://www.w3.org/1999/xhtml";

html {
    display: block
}

/* children of the <head> element all have display:none */
head {
    display: none
}

meta {
    display: none
}

title {
    display: none
}

link {
    display: none
}

style {
    display: none
}

script {
    display: none
}

/* generic block-level elements */

body {
    display: block;
    margin: 8px
}

p {
    display: block;
    margin: 1.0__qem 0px
}

div {
    display: block
}

layer {
    display: block
}

marquee {
    display: inline-block;
    overflow: -webkit-marquee
}

address {
    display: block
}

blockquote {
    display: block;
    margin: 1__qem 40px 1em 40px
}

q {
    display: inline
}

q:before {
    content: '"'
    /* FIXME: content: open-quote; */
}

q:after {
    content: '"'
    /* FIXME: content: close-quote; */
}

center {
    display: block;
    /* special centering to be able to emulate the html4/netscape behaviour */
    text-align: -webkit-center
}

hr {
    display: block;
    margin: 0.5em auto;
    border-style: inset;
    border-width: 1px
}

map {
    display: inline
}

/* heading elements */

h1 {
    display: block;
    font-size: 2em;
    margin: .67__qem 0 .67em 0;
    font-weight: bold
}

h2 {
    display: block;
    font-size: 1.5em;
    margin: .83__qem 0 .83em 0;
    font-weight: bold
}

h3 {
    display: block;
    font-size: 1.17em;
    margin: 1__qem 0 1em 0;
    font-weight: bold
}

h4 {
    display: block;
    margin: 1.33__qem 0 1.33em 0;
    font-weight: bold
}

h5 {
    display: block;
    font-size: .83em;
    margin: 1.67__qem 0 1.67em 0;
    font-weight: bold
}

h6 {
    display: block;
    font-size: .67em;
    margin: 2.33__qem 0 2.33em 0;
    font-weight: bold
}

/* tables */

table {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: gray
}

table[align="center"] {
    margin-left: auto;
    margin-right: auto
}

thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit
}

tfoot {
    display: table-footer-group;
    vertical-align: middle;
    border-color: inherit
}

col {
    display: table-column
}

colgroup {
    display: table-column-group
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit
}

td, th {
    display: table-cell;
    vertical-align: inherit
}

th {
    font-weight: bold
}

caption {
    display: table-caption;
    text-align: -webkit-center
}

/* lists */

ul, menu, dir {
    display: block;
    list-style-type: disc;
    margin: 1__qem 0 1em 0;
    -webkit-padding-start: 40px
}

ol {
    display: block;
    list-style-type: decimal;
    margin: 1__qem 0 1em 0;
    -webkit-padding-start: 40px
}

li {
    display: list-item
}

ul ul, ol ul {
    list-style-type: circle
}

ol ol ul, ol ul ul, ul ol ul, ul ul ul {
    list-style-type: square
}

dd {
    display: block;
    -webkit-margin-start: 40px
}

dl {
    display: block;
    margin: 1__qem 0 1em 0
}

dt {
    display: block
}

ol ul, ul ol, ul ul, ol ol {
    margin-top: 0;
    margin-bottom: 0
}

/* form elements */

form {
    display: block;
    margin: 0__qem 0 1em 0
}

label {
    cursor: default;
}

legend {
    display: block;
    padding-left: 2px;
    padding-right: 2px;
    border: none
}

fieldset {
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding: 0.35em 0.75em 0.625em;
    border: 2px groove ThreeDFace
}

input:disabled {
    opacity:0.4;
}

input[type="hidden"] {
    display: none
}

input, textarea, select, button, isindex, input[type="file"]::-webkit-file-upload-button {
    margin: 0__qem;
/*    font: -webkit-small-control;*/
    color: initial;
    
    text-align: -webkit-auto;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0;
    display: inline-block;
    
    -webkit-appearance: textfield;
    -webkit-border-radius: 5px;
    
    font: 11px Helvetica;
    border:1px solid #4c4c4c;
    padding: 0.2em 0.5em 0.3em 0.5em;
}

input[type="search"] {
    box-sizing: border-box;
}

input, textarea, isindex {
    background-color: white;
    
    -webkit-rtl-ordering: logical;
    -webkit-user-select: text;
}

textarea {
    -webkit-appearance: textarea;
    -webkit-box-orient: vertical;
    -webkit-nbsp-mode: space;
    -webkit-line-break: after-white-space;
    resize: auto;
    word-wrap: break-word;
}

input[type="password"] {
    -webkit-text-security: disc !important;
}

input[type="hidden"], input[type="image"], input[type="file"] {
    -webkit-appearance: initial;
    padding: initial;
    background-color: initial;
    border: initial;
}

input[type="file"] {
    -webkit-box-align: baseline;
}

input:-webkit-autofill {
    background-color: #FAFFBD !important;
    background-image:none !important;
}

button, input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button
{    
    -webkit-appearance: push-button;
    -webkit-box-align: center;
    
    text-align: center;
    cursor: default;
    color: ButtonText;
    background-color:transparent;
    
    padding-top: 0px;
    padding-bottom: 0px;
    
    padding-left: 1.0em !important;
    padding-right: 1.0em !important;

    font: 11px Helvetica;
    white-space: pre;
}

input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button
{
    box-sizing: border-box;
}

input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled, input[type="file"]:disabled::-webkit-file-upload-button, button:disabled, select:disabled {
    color: GrayText;
}

select, button, input[type="button"], input[type="image"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], input[type="file"]::-webkit-file-upload-button, img {
    -webkit-user-select: ignore;
}

area, param {
    display: none
}

input[type="radio"], input[type="checkbox"] {
    margin: 3px 0.5ex;
    border:1px solid #4c4c4c;
    box-sizing:border-box;
}

input[type="checkbox"] {

    -webkit-appearance:checkbox;
    -webkit-border-radius: 5px;
    
    width:16px;
    height:16px;

    padding:0px;
    background:transparent;
}

input[type="radio"] {

    -webkit-appearance:radio;
    -webkit-border-radius:8px;
    
    width:16px;
    height:16px;

    padding:0px;
    background:transparent;
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
    background:rgba(0, 0, 0, 0.8);
    border-color:transparent;
}

input[type="checkbox"]:checked:disabled, input[type="radio"]:checked:disabled {
    opacity:0.4;
    background:rgba(0, 0, 0, 0.8);
}

input[type="checkbox"]:disabled, input[type="radio"]:disabled {
    opacity:0.4;
}

select:focus, select[mutliple]:focus {
    border-color: rgb(17, 46, 135);
}

select, select[mutliple] {
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;

    -webkit-appearance: menulist-button;
    -webkit-box-align: center;
    -webkit-rtl-ordering: logical;

    white-space: pre;
    
    -webkit-border-radius: 5px;
    border:1px solid #4c4c4c;

    background:transparent;
    
    box-sizing: border-box;
    font: 11px Helvetica;
    padding: 0 0.5em 0 0.5em !important;
}

optgroup {
    font-weight: bolder;
}

option {
    font-weight: normal;
}

/* inline elements */

u, ins {
    text-decoration: underline
}

strong, b {
    font-weight: bolder
}

i, cite, em, var, address {
    font-style: italic
}

tt, code, kbd, samp {
    font-family: monospace
}

pre, xmp, plaintext, listing {
    display: block;
    font-family: monospace;
    white-space: pre;
    margin: 1__qem 0
}

big {
    font-size: larger
}

small {
    font-size: smaller
}

s, strike, del {
    text-decoration: line-through
}

sub {
    vertical-align: sub;
    font-size: smaller
}

sup {
    vertical-align: super;
    font-size: smaller
}

nobr {
    white-space: nowrap
}

wbr {
    white-space: normal
}

/* states */

:focus { 
    outline: auto 5px -webkit-focus-ring-color
}

html:focus, body:focus { 
    outline: none
}

html:focus, body:focus {
    outline: none
}
  
input:focus, textarea:focus, isindex:focus {
    outline-offset: -2px
}

input[type="button"]:focus,
input[type="checkbox"]:focus,
input[type="file"]:focus,
input[type="hidden"]:focus,
input[type="image"]:focus,
input[type="radio"]:focus,
input[type="reset"]:focus,
input[type="search"]:focus,
input[type="submit"]:focus,
input[type="file"]::-webkit-file-upload-button:focus {
    outline-offset: 0
}

a:-webkit-any-link {
    color: -webkit-link;
    text-decoration: underline;
    -webkit-user-select: ignore
}

a:-webkit-any-link:active {
    color: -webkit-activelink
}

/* other elements */

noframes {
    display: none
}

frameset, frame {
    display: block
}

/* noscript is handled internally, as it depends on settings */