1 /* Papyrus skin for PmWiki
2 Copyright 2017-2022 Said Achmiz
4 https://www.pmwiki.org/wiki/Skins/Papyrus
14 --papyrus-sidebar-width: 200px;
15 --papyrus-sidebar-padding: 10px;
16 --papyrus-content-padding: 20px;
17 --papyrus-page-header-height: 50px;
27 box-sizing: border-box
;
29 *, *::before
, *::after
{
42 var
(--papyrus-page-header-height
) 1fr /
43 1fr var
(--papyrus-sidebar-width
);
49 @media only screen and
(max-width: 900px) {
51 --papyrus-content-padding: 10px;
69 font-family: Verdana
, Arial
, sans-serif
;
70 background-color: Beige
;
71 background-image: url
('papyrus.jpg');
88 padding: var
(--papyrus-content-padding
);
94 /*======================*/
95 /*= Page title & group =*/
96 /*======================*/
116 border-style: dotted
;
117 border-width: 1px 0 0 0;
118 padding: 1px 12px 0 0;
123 #footer .page-actions
{
124 margin: 0 12px 0 1px;
127 @media only screen and
(max-width: 900px) {
131 justify-content: space-around
;
135 #footer .page-actions
{
140 display: inline-block
;
151 /*==================*/
152 /*= Wiki page text =*/
153 /*==================*/
191 padding: 5px 10px 0 0;
196 list-style-type: none
;
197 list-style-image: none
;
200 justify-content: flex-end
;
206 @media only screen and
(max-width: 900px) {
208 border-bottom: 1px solid
#ccc;
212 flex-basis: calc
(var
(--papyrus-page-header-height
) + var
(--papyrus-sidebar-width
) + 10px);
213 height: var
(--papyrus-page-header-height
);
223 display: inline-block
;
224 border: 1px solid
#ccc;
236 padding: var
(--papyrus-sidebar-padding
);
246 margin: 20px 2px 2px 2px;
250 list-style-type: none
;
258 @media only screen and
(max-width: 900px) {
264 justify-content: center
;
273 background-color: #c3571b;
278 #sidebar ul
li:only-child a
{
284 /*======================*/
285 /*= Sidebar search box =*/
286 /*======================*/
291 align-items: stretch
;
293 #sideSearch .searchbox
{
296 #sideSearch .searchbutton
{
301 background-image: url
('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAANCAAAAAC4QtCeAAAAAnRSTlMA/1uRIrUAAABpSURBVHgBY/j//+7c2tq5d/8DAcP//TlgsB/EuZuXv+fjxz35efeBnElgMaD8FCCnLOcLiPMlpwyZU4yiDGLAwU+fDoIMQBidswvIAVlaXT23GsgDciDgfSeQB+P8/zkzZxWc8//vtc8AJiB5qbEm4UgAAAAASUVORK5CYII=');
302 background-position: center center
;
303 background-repeat: no-repeat
;
308 @media only screen and
(max-width: 900px) {
312 left: var
(--papyrus-page-header-height
);
313 height: var
(--papyrus-page-header-height
);
314 padding: calc
((var
(--papyrus-page-header-height
) - 1.5rem) / 2);
326 min-height: calc
(100vh - 360px);
329 #wikiedit input
[type
='text'],
330 #wikiedit input
[type
='submit'] {
331 -webkit-appearance: none
;
332 -moz-appearance: none
;
334 #wikiedit .edit-summary input
[type
='text'] {
343 #wikitext .preview-begin
,
344 #wikitext .preview-end
{
346 text-transform: uppercase
;
350 #wikitext .preview-begin
{
351 border-bottom: 2px solid
#c00;
353 #wikitext .preview-end
{
354 border-top: 2px solid
#c00;
357 #wikiedit .edit-action-buttons
{
359 justify-content: center
;
361 #wikiedit .edit-action-buttons input
{
369 @media only screen and
(max-width: 900px) {
375 /*===================*/
376 /*= GUIEdit buttons =*/
377 /*===================*/
379 @media only screen and
(max-width: 900px) {
380 #wikiedit .guibuttons
{
383 #wikiedit .guibuttons a
,
384 #wikiedit .guibuttons
> img
{
387 display: inline-block
;
388 vertical-align: text-bottom
;
389 border: 1px solid
#ddd;
390 background-color: #fff;
394 /*========================*/
395 /*= Edit quick reference =*/
396 /*========================*/
398 #wikitext .quickref
{
409 #wikitext .quickref p
{
411 padding: 0.5em 0.25em;
414 #wikitext .quickref
p:nth-last-of-type
(n
+2) {
415 border-bottom: 1px solid
#ddd;
417 #wikitext .quickref
p:nth-of-type
(2n) {
421 #wikitext .quickref strong
{
424 #wikitext .quickref code
.escaped
{
428 text-shadow: 0.5px 0.5px 0.5px #f88;
431 #wikitext .quickref code
.escaped
+ code
.escaped
{
440 border: 1px solid
#cccccc;
442 background-color: #f9f9f9;
461 text-decoration: none
;
466 overflow-wrap: break-word
;
467 word-break: break-all
;
471 text-decoration: none
;
474 #wikitext a:visited
{
479 text-decoration: underline
;
492 list-style-type: square
;
493 margin: 0px 0px 10px 10px;
504 border-bottom: 1px solid
#aaa;
517 white-space: pre-wrap
;
526 font-family: inherit
;
527 font-weight: inherit
;
528 font-variant: inherit
;
531 /* PmWiki built-in table of contents.
534 line-height: inherit
;