123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469 |
- /**
- * This file provides the most basic styles.
- *
- * If you integrate DokuWiki into another project, you might either
- * want to integrate this file into the other project as well, or use
- * the other project's basic CSS for DokuWiki instead of this one.
- *
- * @author Anika Henke <anika@selfthinker.org>
- */
- html {
- overflow-x: auto;
- overflow-y: scroll;
- }
- html,
- body {
- color: var(--ini-text);
- background: var(--ini-background-site) url(images/page-gradient.png) top left repeat-x;
- background:#F6F6F6;
- margin: 0;
- padding: 0;
- }
- body {
- font: normal 87.5%/1.4 Arial, sans-serif;
- /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
- -webkit-text-size-adjust: 100%;
- }
- /*____________ headers ____________*/
- caption,
- figcaption,
- summary,
- legend {
- padding: 0;
- margin: 0 0 .35em;
- line-height: 1.2;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- font-weight: bold;
- padding: 0;
- line-height: 1.2;
- clear: left; /* ideally 'both', but problems with toc */
- }
- [dir=rtl] h1,
- [dir=rtl] h2,
- [dir=rtl] h3,
- [dir=rtl] h4,
- [dir=rtl] h5,
- [dir=rtl] h6 {
- clear: right;
- }
- h1 {
- font-size: 2em;
- margin: 0 0 0.444em;
- }
- h2 {
- font-size: 1.5em;
- margin: 0 0 0.666em;
- }
- h3 {
- font-size: 1.125em;
- margin: 0 0 0.888em;
- }
- h4 {
- font-size: 1em;
- margin: 0 0 1.0em;
- }
- h5 {
- font-size: .875em;
- margin: 0 0 1.1428em;
- }
- h6 {
- font-size: .75em;
- margin: 0 0 1.333em;
- }
- /* bottom margin = 1 / font-size */
- /*____________ basic margins and paddings ____________*/
- p,
- ul,
- ol,
- dl,
- pre,
- table,
- hr,
- blockquote,
- figure,
- details,
- fieldset,
- address {
- margin: 0 0 1.4em 0; /* bottom margin = line-height */
- padding: 0;
- }
- div,
- video,
- audio {
- margin: 0;
- padding: 0;
- }
- /*____________ lists ____________*/
- ul,
- ol {
- padding: 0 0 0 1.5em;
- }
- [dir=rtl] ul,
- [dir=rtl] ol {
- padding: 0 1.5em 0 0;
- }
- li,
- dd {
- padding: 0;
- margin: 0 0 0 1.5em;
- }
- [dir=rtl] li,
- [dir=rtl] dd {
- margin: 0 1.5em 0 0;
- }
- dt {
- font-weight: bold;
- margin: 0;
- padding: 0;
- }
- li ul,
- li ol,
- li dl,
- dl ul,
- dl ol,
- dl dl {
- margin-bottom: 0;
- padding: 0;
- }
- li li {
- font-size: 100%;
- }
- ul { list-style: square outside; }
- ol { list-style: decimal outside; }
- ol ol { list-style-type: lower-alpha; }
- ol ol ol { list-style-type: upper-roman; }
- ol ol ol ol { list-style-type: upper-alpha; }
- ol ol ol ol ol { list-style-type: lower-roman; }
- /*____________ tables ____________*/
- table {
- border-collapse: collapse;
- empty-cells: show;
- border-spacing: 0;
- border: 1px solid var(--ini-border);
- }
- caption {
- caption-side: top;
- text-align: left;
- }
- [dir=rtl] caption {
- text-align: right;
- }
- th,
- td {
- padding: .3em .5em;
- margin: 0;
- vertical-align: top;
- border: 1px solid var(--ini-border);
- }
- th {
- font-weight: bold;
- background-color: var(--ini-background-alt);
- text-align: left;
- }
- [dir=rtl] th {
- text-align: right;
- }
- /*____________ links ____________*/
- a {
- outline: none;
- }
- a:link,
- a:visited {
- text-decoration: none;
- color: var(--ini-link);
- }
- a:link:hover,
- a:visited:hover,
- a:link:focus,
- a:visited:focus,
- a:link:active,
- a:visited:active {
- text-decoration: underline;
- }
- /*____________ misc ____________*/
- img {
- border-width: 0;
- vertical-align: middle;
- color: #666;
- background-color: transparent;
- font-style: italic;
- object-fit: cover;
- }
- video {
- height: auto;
- }
- img,
- object,
- embed,
- iframe,
- video,
- audio {
- max-width: 100%;
- }
- button img {
- max-width: none;
- }
- table img {
- max-width: 50vw;
- }
- hr {
- border-top: solid var(--ini-border);
- border-bottom: solid var(--ini-background);
- border-width: 1px 0;
- height: 0;
- text-align: center;
- clear: both;
- }
- acronym,
- abbr {
- cursor: help;
- border-bottom: 1px dotted;
- text-decoration: none;
- font-style: normal;
- }
- em acronym,
- em abbr {
- font-style: italic;
- }
- mark {
- background-color: var(--ini-highlight);
- color: inherit;
- }
- pre,
- code,
- samp,
- kbd {
- font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
- /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
- font-size: 1em;
- direction: ltr;
- text-align: left;
- background-color: var(--ini-background-site);
- color: var(--ini-text);
- //box-shadow: inset 0 0 .3em var(--ini-border);
- border-radius: 2px;
- }
- pre {
- overflow: auto;
- word-wrap: normal;
- border: 1px solid var(--ini-border);
- border-radius: 2px;
- //box-shadow: inset 0 0 .5em var(--ini-border);
- padding: .7em 1em;
- }
- blockquote {
- padding: 0 .5em;
- border: solid var(--ini-border);
- border-width: 0 0 0 .25em;
- }
- [dir=rtl] blockquote {
- border-width: 0 .25em 0 0;
- }
- q:before,
- q:after {
- content: '';
- }
- sub,
- sup {
- font-size: .8em;
- line-height: 1;
- }
- sub {
- vertical-align: sub;
- }
- sup {
- vertical-align: super;
- }
- small {
- font-size: .8em;
- }
- wbr {
- display: inline-block; /* for IE 11 */
- }
- /*____________ forms ____________*/
- /* for all of the form styles, style.ini colours are not used on purpose (except for fieldset border) */
- form {
- display: inline;
- margin: 0;
- padding: 0;
- }
- fieldset {
- padding: .7em 1em 0;
- padding: .7rem 1rem; /* for those browsers understanding :last-child */
- border: 1px solid var(--ini-text-alt);
- }
- fieldset > :last-child {
- margin-bottom: 0;
- }
- legend {
- margin: 0;
- padding: 0 .1em;
- }
- label {
- vertical-align: middle;
- cursor: pointer;
- }
- input,
- textarea,
- button,
- select,
- optgroup,
- option,
- keygen,
- output,
- meter,
- progress {
- font: inherit;
- font-weight: normal;
- color: #333;
- background-color: #fff;
- line-height: normal;
- margin: 0;
- vertical-align: middle;
- box-sizing: border-box;
- }
- select {
- max-width: 100%;
- }
- optgroup {
- font-style: italic;
- font-weight: bold;
- }
- option {
- font-style: normal;
- font-weight: normal;
- }
- input,
- textarea,
- select,
- keygen {
- border: 1px solid var(--ini-border);
- //box-shadow: inset 0 0 1px #eee;
- border-radius: 5px;
- }
- input:active,
- input:focus,
- textarea:active,
- textarea:focus,
- select:active,
- select:focus,
- keygen:active,
- keygen:focus {
- border: 1.5px solid var(--ini-border);
- outline: none;
- }
- input[type=radio],
- input[type=checkbox],
- input[type=image] {
- padding: 0;
- border-style: none;
- box-shadow: none;
- }
- /* all types of buttons */
- input[type=submit],
- input[type=button],
- input[type=reset],
- input.button,
- a.button,
- button,
- .qq-upload-button {
- color: #FFFFFF;
- background-color: var(--ini-border);
- border: 0px solid #ccc;
- border-radius: 5px;
- margin: 5px;
- padding: 4px 20px 3.5px 20px;
- text-transform: uppercase !important;
- cursor: pointer;
- }
- input[type=submit]:hover,
- input[type=submit]:active,
- input[type=submit]:focus,
- input[type=button]:hover,
- input[type=button]:active,
- input[type=button]:hover,
- input[type=reset]:hover,
- input[type=reset]:active,
- input[type=reset]:hover,
- input.button:hover,
- input.button:active,
- input.button:focus,
- a.button:hover,
- a.button:active,
- a.button:focus,
- button:hover,
- button:active,
- button:focus,
- .qq-upload-button:hover {
- transform: scale(1.05);
- transition-duration: 0.1s;
- }
- input::-moz-focus-inner,
- button::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
- input[disabled],
- button[disabled],
- select[disabled],
- textarea[disabled],
- option[disabled],
- input[readonly],
- button[readonly],
- select[readonly],
- textarea[readonly] {
- cursor: auto;
- opacity: .5;
- background-color: #eee;
- }
|