From dafb567492b5eb80122f82ae60307e25d7622531 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 27 Feb 2020 17:21:33 -0800 Subject: [PATCH] webapps.wiki: moving class description to wiki.css. --- extra/webapps/wiki/wiki.css | 32 ++++++++++++++++++++++ extra/websites/concatenative/page.css | 39 ++++----------------------- 2 files changed, 37 insertions(+), 34 deletions(-) diff --git a/extra/webapps/wiki/wiki.css b/extra/webapps/wiki/wiki.css index 5fa8348b63..5e61296497 100644 --- a/extra/webapps/wiki/wiki.css +++ b/extra/webapps/wiki/wiki.css @@ -74,6 +74,38 @@ border-bottom: none; } +.description pre { + padding: 5px; + border: 1px dashed #ccc; + background-color: #f5f5f5; +} + +.description h1 { font-size: 1.5em; } +.description h2 { font-size: 1.17em; } +.description h3 { font-size: 1.0em; } +.description h4 { font-size: 0.83em; } +.description h5 { font-size: 0.67em; } + +.description p:first-child { margin-top: 0px; } +.description p:last-child { margin-bottom: 0px; } + +.description table, .description td { + border-color: #666; + border-style: solid; +} + +.description table { + border-width: 0 0 1px 1px; + border-spacing: 0; + border-collapse: collapse; +} + +.description td { + margin: 0; + padding: 4px; + border-width: 1px 1px 0 0; +} + .footer { border-top: 1px solid #ccc; padding-left: 15px; diff --git a/extra/websites/concatenative/page.css b/extra/websites/concatenative/page.css index 6932d1e136..b95bfc658e 100644 --- a/extra/websites/concatenative/page.css +++ b/extra/websites/concatenative/page.css @@ -25,6 +25,11 @@ table { border-collapse: collapse; } +pre { + overflow: auto; + font-size: smaller; +} + .link-button { padding: 0; background: none; @@ -64,37 +69,3 @@ a:hover, .link:hover { text-decoration: underline; } .big-field-label { vertical-align: top; } - -.description pre { - padding: 5px; - border: 1px dashed #ccc; - background-color: #f5f5f5; - overflow: auto; - font-size: smaller; -} - -.description h1 { font-size: 1.5em; } -.description h2 { font-size: 1.17em; } -.description h3 { font-size: 1.0em; } -.description h4 { font-size: 0.83em; } -.description h5 { font-size: 0.67em; } - -.description p:first-child { margin-top: 0px; } -.description p:last-child { margin-bottom: 0px; } - -.description table, .description td { - border-color: #666; - border-style: solid; -} - -.description table { - border-width: 0 0 1px 1px; - border-spacing: 0; - border-collapse: collapse; -} - -.description td { - margin: 0; - padding: 4px; - border-width: 1px 1px 0 0; -}