]> git.plutz.net Git - shellwiki/blobdiff - themes/default.css
avoid half width headlines
[shellwiki] / themes / default.css
index 1f4c9ead5e4e4575f4ec25a27f545298d8246631..79d555ba2359084a4785c5107c59f3a25b47abb1 100644 (file)
@@ -1,5 +1,5 @@
 /*
-# Copyright 2022 - 2023 Paul Hänsch
+# Copyright 2022 - 2024 Paul Hänsch
 # 
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -107,6 +107,12 @@ main > form#deletepage input#delsub:checked + label + ul li.delsub {
   text-decoration: line-through;
 }
 
+main > form#movepage input,
+main > form#renamepage input {
+  min-width: 30em;
+  max-width: 100%;
+}
+
 [id$="/[revision]"] main .revisions,
 [id$="/[attachment]"] main > .attachment.list {
   margin: 1em;
@@ -158,11 +164,11 @@ li.task.unsure:before   { content: '?  '    ; color: #880; font-weight: bold; pa
 h1 { text-align: center; }
 .center { text-align: center; }
 
-form.search {
-  text-align: center;
+form.newpage, form.search {
   margin-bottom: 1em;
 }
-input.search {
+form.search { text-align: center; }
+input.search, input[type="search"] {
   min-width: 50%;
   max-width: 80%;
   max-width: calc(100%  - 2.5em);
@@ -172,6 +178,14 @@ ul.searchresults, ol.searchresults {
   width: 100%; max-width: 540pt;
   text-align: center;
 }
+.searchresults li a {
+  display: block;
+}
+.searchresults li p {
+  display: inline-block;
+  margin: 0 auto .5em auto;
+  white-space: pre-line;
+}
 
 table {
   min-width: 50%;
@@ -186,16 +200,28 @@ table {
     padding-right: 1em;
     vertical-align: top;
   }
+  h1.half, h2.half, h3.half, h4.half, h5.half, h6.half {
+    width: 50%;
+  }
   .right {
     float: right;
+    clear: both;
     width: 33%;
     margin: .25em 0 .5em 1em;
   }
   .left {
     float: left;
+    clear: both;
     width: 33%;
     margin: .25em 1em .5em 0;
   }
+  .left .left, .left .right,
+  .right .left, .right .right,
+  .half .left, .half .right {
+    float: none;
+    width: 100%;
+    margin: .25em 0 .5em 0;
+  }
   section.left  > :first-child,
   section.right > :first-child {
     float: none;
@@ -209,8 +235,8 @@ table {
     width: 100%;
   }
 
-  .left  input.search,
-  .right input.search {
+  .left  input.search, .left  input[type="search"],
+  .right input.search, .right input[type="search"] {
     width: 80%;
     width: calc(100% - 2.5em);
   }
@@ -400,3 +426,26 @@ ul.macro.tag { padding: 0; }
 .macro.changes td.outdated { background-color: #FFD; }
 .macro.changes td.current  { background-color: #DFD; }
 .macro.changes td.missing  { background-color: #FDD; }
+
+
+.macro.calendar.cal_month {
+  border: 1pt solid #AAA;
+  -box-shadow: .25em .25em .75em #AAA;
+}
+.macro.calendar.cal_month td {
+  padding: 0 .25em;
+  vertical-align: top;
+}
+.macro.calendar.cal_month td > label {
+  display: block;
+  background-color: #F4F4F4;
+  text-align: center;
+  margin-right: 0;
+}
+.macro.calendar.cal_month td > ul {
+  padding: .25em 1em;
+  margin-bottom: .125em;
+}
+.macro.calendar.cal_month td > ul > li {
+  display: block;
+}