1 /* PAPYRUS skin for PmWiki
2 Copyright 2019 Said Achmiz
6 More info at these URLs:
8 * https://www.pmwiki.org/wiki/Skins/Papyrus
9 * https://www.pmwiki.org/wiki/Profiles/SaidAchmiz
11 The Papyrus skin includes:
13 * papyrus.css (this file)
14 * papyrus.jpg (background pattern)
15 * papyrus.tmpl (skin template)
16 * papyrus.php (skin script file)
17 * ReadMe.txt (instructions & info)
25 --papyrus-sidebar-width: 200px;
26 --papyrus-sidebar-padding: 10px;
27 --papyrus-content-padding: 20px;
28 --papyrus-page-header-height: 50px;
38 box-sizing: border-box
;
40 *, *::before
, *::after
{
53 var
(--papyrus-page-header-height
) 1fr /
54 1fr var
(--papyrus-sidebar-width
);
60 @media only screen and
(max-width: 900px) {
62 --papyrus-content-padding: 10px;
80 font-family: Verdana
, Arial
, sans-serif
;
81 background-color: Beige
;
82 background-image: url
('papyrus.jpg');
99 padding: var
(--papyrus-content-padding
);
105 /*======================*/
106 /*= Page title & group =*/
107 /*======================*/
127 border-style: dotted
;
128 border-width: 1px 0 0 0;
129 padding: 1px 12px 0 0;
134 #footer .page-actions
{
135 margin: 0 12px 0 1px;
138 @media only screen and
(max-width: 900px) {
142 justify-content: space-around
;
146 #footer .page-actions
{
151 display: inline-block
;
162 /*==================*/
163 /*= Wiki page text =*/
164 /*==================*/
202 padding: 5px 10px 0 0;
207 list-style-type: none
;
208 list-style-image: none
;
211 justify-content: flex-end
;
217 @media only screen and
(max-width: 900px) {
219 border-bottom: 1px solid
#ccc;
223 flex-basis: calc
(var
(--papyrus-page-header-height
) + var
(--papyrus-sidebar-width
) + 10px);
224 height: var
(--papyrus-page-header-height
);
234 display: inline-block
;
235 border: 1px solid
#ccc;
247 padding: var
(--papyrus-sidebar-padding
);
257 margin: 20px 2px 2px 2px;
261 list-style-type: none
;
269 @media only screen and
(max-width: 900px) {
275 justify-content: center
;
284 background-color: #c3571b;
289 #sidebar ul
li:only-child a
{
295 /*======================*/
296 /*= Sidebar search box =*/
297 /*======================*/
302 align-items: stretch
;
304 #sideSearch .searchbox
{
307 #sideSearch .searchbutton
{
312 background-image: url
('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAANCAAAAAC4QtCeAAAAAnRSTlMA/1uRIrUAAABpSURBVHgBY/j//+7c2tq5d/8DAcP//TlgsB/EuZuXv+fjxz35efeBnElgMaD8FCCnLOcLiPMlpwyZU4yiDGLAwU+fDoIMQBidswvIAVlaXT23GsgDciDgfSeQB+P8/zkzZxWc8//vtc8AJiB5qbEm4UgAAAAASUVORK5CYII=');
313 background-position: center center
;
314 background-repeat: no-repeat
;
319 @media only screen and
(max-width: 900px) {
323 left: var
(--papyrus-page-header-height
);
324 height: var
(--papyrus-page-header-height
);
325 padding: calc
((var
(--papyrus-page-header-height
) - 1.5rem) / 2);
338 #wikiedit .edit-summary input
[type
='text'] {
342 #wikiedit input
[type
='text'],
343 #wikiedit input
[type
='submit'] {
344 -webkit-appearance: none
;
345 -moz-appearance: none
;
353 #wikitext .preview-begin
,
354 #wikitext .preview-end
{
356 text-transform: uppercase
;
360 #wikitext .preview-begin
{
361 border-bottom: 2px solid
#c00;
363 #wikitext .preview-end
{
364 border-top: 2px solid
#c00;
367 #wikiedit .edit-action-buttons
{
369 justify-content: center
;
371 #wikiedit .edit-action-buttons input
{
379 @media only screen and
(max-width: 900px) {
385 /*===================*/
386 /*= GUIEdit buttons =*/
387 /*===================*/
389 @media only screen and
(max-width: 900px) {
390 #wikiedit .guibuttons
{
393 #wikiedit .guibuttons a
,
394 #wikiedit .guibuttons
> img
{
397 display: inline-block
;
398 vertical-align: text-bottom
;
399 border: 1px solid
#ddd;
400 background-color: #fff;
409 border: 1px solid
#cccccc;
411 background-color: #f9f9f9;
430 text-decoration: none
;
435 overflow-wrap: break-word
;
436 word-break: break-all
;
440 text-decoration: none
;
443 #wikitext a:visited
{
448 text-decoration: underline
;
461 list-style-type: square
;
462 margin: 0px 0px 10px 10px;
473 border-bottom: 1px solid
#aaa;
486 white-space: pre-wrap
;
491 font-family: inherit
;
492 font-weight: inherit
;
493 font-variant: inherit
;