📄 html4.css
字号:
/*
* The default style sheet used by khtml to render HTML pages
* (C) Lars Knoll (knoll@kde.org) 2000
*
* Konqueror/khtml relies on the existence of this style sheet for
* rendering. Do not remove or modify this file unless you know
* what you are doing.
*/
@namespace "http://www.w3.org/1999/xhtml";
html {
display: block
}
/* The 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: 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; */
}
embed, object {
width: 100px;
height: 50px;
}
center {
display: block;
/* special centering to be able to emulate the html4/netscape behaviour */
text-align: -khtml-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;
text-align: -khtml-auto;
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: -khtml-center
}
/* Lists */
ul, menu, dir {
display: block;
list-style-type: disc;
margin: 1__qem 0 1em 0;
-khtml-padding-start: 40px
}
ol {
display: block;
list-style-type: decimal;
margin: 1__qem 0 1em 0;
-khtml-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;
-khtml-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
}
legend {
display: block;
padding-left: 2px;
padding-right: 2px;
border: none
}
fieldset {
display: block;
margin-left: 2px;
margin-right: 2px;
padding: 0.75em 0.625em;
border: 2px groove ThreeDFace
}
button {
display: inline-block;
border: 2px outset ButtonFace;
background-color: ButtonFace;
color: ButtonText;
padding: 2px 2px 2px 2px;
cursor: default
}
button:active {
border-style: inset
}
input:active, input:focus, input:hover,
select:active, select:focus, select:hover,
textarea:active, textarea:focus, textarea:hover {
outline: solid 2px #aaaaff;
}
input, textarea {
text-align: -khtml-auto
}
/* If we support for CSS2 system fonts, then we won't have to hard code Lucida Grande here. */
input, textarea, select, button {
margin: 0px;
font: 13px 'Lucida Grande';
color: initial
}
input[type="hidden"] {
display: none
}
input, textarea, select {
background-color: #ffffff;
border: 1px solid black;
}
button, input[type="submit"], input[type="reset"], input[type="file"] {
margin: 1px;
}
input[type="radio"], input[type="checkbox"] {
margin: 0px;
border-width: 0px;
background-color: transparent;
vertical-align: -20%
}
input[type="file"] {
background-color: #f6f6f2
}
input[type="submit"], input[type="reset"] {
background-color: #f6f6f2;
border-top: 1px solid gray;
border-rigth: 1px solid black;
border-bottom: 1px solid black;
border-left: 1px solid gray
}
option, optgroup, area, param {
display: none
}
/* 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 {
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 {
display: inline;
white-space: nowrap
}
wbr {
white-space: normal
}
a:link { color: blue; text-decoration: underline; }
a:active { color: black; outline: gray 1px dotted; }
a:focus { color: black; background-color: #aaaaff } /* color specified in LAF, Avcon color index: #222*/
a:visited { color: navy; text-decoration: underline; }
:focus img { outline: solid 2px #aaaaff }
a:hover { color: black; background-color: #aaaaff }
a:hover img { outline: solid 2px #aaaaff }
object:hover { outline: solid 2px blue }
::selection { background-color: #ff0000; color: #ffffcc }
/* End Inline Elements */
/*:focus {
outline: auto 3px #1f5ccf
}
html:focus, body:focus {
outline: none
}
a:-khtml-any-link {
color: -khtml-link;
text-decoration: underline
}
a:-khtml-any-link:active {
color: -khtml-activelink
}*/
/* Bidirectionality settings */
bdo[dir="ltr"] {
direction: ltr;
unicode-bidi: bidi-override
}
bdo[dir="rtl"] {
direction: rtl;
unicode-bidi: bidi-override
}
/* End bidi settings */
/* other elements */
noframes {
display: none
}
/*noframes {
display: block
}
frameset:after {
display: block;
content: "Frames are not currently supported\a";
}
frame {
display: none
}*/
/* noscript is handled internally, as it depends on the html settings */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -