mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-10 02:24:08 +00:00
Rename the tiddlers in the Snow White theme, and enable a static banner
The tiddlers in the Snow White theme weren't named as part of their plugin.
This commit is contained in:
parent
b0d183070c
commit
ac32b09db3
@ -1,4 +1,4 @@
|
|||||||
title: $:/core/templates/static.template.css
|
title: $:/core/templates/static.template.css
|
||||||
|
|
||||||
{{{ [is[system]type[text/css]] ||$:/core/templates/plain-text-tiddler}}}
|
{{{ [is[system]type[text/css]] ||$:/core/templates/plain-text-tiddler}}}
|
||||||
{{$:/core/styles/base}}
|
{{{ [tag[$:/tags/stylesheet]] [is[shadow]tag[$:/tags/stylesheet]] ||$:/core/templates/wikified-tiddler}}}
|
||||||
|
@ -14,10 +14,11 @@ type: text/vnd.tiddlywiki-html
|
|||||||
{{{ [is[system]type[text/css]] ||$:/core/templates/css-tiddler}}}
|
{{{ [is[system]type[text/css]] ||$:/core/templates/css-tiddler}}}
|
||||||
</div>
|
</div>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
{{$:/core/styles/base}}
|
{{{ [tag[$:/tags/stylesheet]] [is[shadow]tag[$:/tags/stylesheet]] ||$:/core/templates/wikified-tiddler}}}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
{{$:/StaticBanner||$:/core/templates/html-tiddler}}
|
||||||
{{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}}
|
{{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -11,6 +11,7 @@ title: $:/core/templates/static.tiddler.html
|
|||||||
<title>`{{$:/core/wiki/title}}`</title>
|
<title>`{{$:/core/wiki/title}}`</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
`{{$:/StaticBanner||$:/core/templates/html-tiddler}}`
|
||||||
<section class="story-river">
|
<section class="story-river">
|
||||||
<div class="tw-tiddler-frame">
|
<div class="tw-tiddler-frame">
|
||||||
`<$view tiddler="$:/core/ui/ViewTemplate" format="htmlwikified"/>`
|
`<$view tiddler="$:/core/ui/ViewTemplate" format="htmlwikified"/>`
|
||||||
|
3
core/templates/wikified-tiddler.tid
Normal file
3
core/templates/wikified-tiddler.tid
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
title: $:/core/templates/wikified-tiddler
|
||||||
|
|
||||||
|
<$view field="text" format="wikified" />
|
3
editions/tw5.com/tiddlers/system/StaticBanner.tid
Normal file
3
editions/tw5.com/tiddlers/system/StaticBanner.tid
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
title: $:/StaticBanner
|
||||||
|
|
||||||
|
<div class="tw-alert">This page is part of a static HTML representation of the TiddlyWiki at http://five.tiddlywiki.com/</div>
|
@ -25,7 +25,7 @@ Store your tiddlers in a single HTML file along with the JS
|
|||||||
# Create tiddlers, show links, missing, orphans, tags, tagging, references
|
# Create tiddlers, show links, missing, orphans, tags, tagging, references
|
||||||
# Use missing tiddlers to find a typo
|
# Use missing tiddlers to find a typo
|
||||||
# Show shadow tiddlers and system tiddlers
|
# Show shadow tiddlers and system tiddlers
|
||||||
# Show stylesheet handling - [[$:/core/styles/base]]
|
# Show stylesheet handling - [[$:/themes/snowwhite/base]]
|
||||||
# Drag an image from the file system
|
# Drag an image from the file system
|
||||||
# Use the image in a tiddler
|
# Use the image in a tiddler
|
||||||
# Edit the image
|
# Edit the image
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
title: $:/core/styles/base
|
title: $:/themes/tiddlywiki/snowwhite/base
|
||||||
tags: [[$:/tags/stylesheet]]
|
tags: [[$:/tags/stylesheet]]
|
||||||
|
|
||||||
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
||||||
@ -44,7 +44,7 @@ background-image: -ms-linear-gradient($gradient$);
|
|||||||
** Start with the normalize CSS reset, and then belay some of its effects
|
** Start with the normalize CSS reset, and then belay some of its effects
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{{$:/core/styles/reset}}
|
{{$:/themes/tiddlywiki/snowwhite/reset}}
|
||||||
|
|
||||||
*, input[type="search"] {
|
*, input[type="search"] {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@ -61,9 +61,9 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: {{$:/core/styles/metrics##fontsize}};
|
font-size: {{$:/themes/tiddlywiki/snowwhite/metrics##fontsize}};
|
||||||
line-height: {{$:/core/styles/metrics##lineheight}};
|
line-height: {{$:/themes/tiddlywiki/snowwhite/metrics##lineheight}};
|
||||||
background-color: {{$:/core/styles/colourmappings##pagebackground}};
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##pagebackground}};
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ a.tw-tiddlylink {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: {{$:/core/styles/colourmappings##linkforeground}};
|
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkforeground}};
|
||||||
}
|
}
|
||||||
|
|
||||||
.tw-sidebar-lists a.tw-tiddlylink {
|
.tw-sidebar-lists a.tw-tiddlylink {
|
||||||
@ -346,7 +346,7 @@ a.tw-tiddlylink-missing {
|
|||||||
.tw-tiddler-frame {
|
.tw-tiddler-frame {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
background-color: {{$:/core/styles/colourmappings##tiddlerbackground}};
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##tiddlerbackground}};
|
||||||
}
|
}
|
||||||
|
|
||||||
.tw-tiddler-info {
|
.tw-tiddler-info {
|
||||||
@ -477,8 +477,8 @@ canvas.tw-edit-bitmapeditor {
|
|||||||
|
|
||||||
.tw-drop-down {
|
.tw-drop-down {
|
||||||
min-width: 20em;
|
min-width: 20em;
|
||||||
border: 1px solid {{$:/core/styles/colourmappings##dropdownborder}};
|
border: 1px solid {{$:/themes/tiddlywiki/snowwhite/colourmappings##dropdownborder}};
|
||||||
background-color: {{$:/core/styles/colourmappings##dropdownbackground}};
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##dropdownbackground}};
|
||||||
<<border-radius 4px>>
|
<<border-radius 4px>>
|
||||||
<<box-shadow "2px 2px 10px rgba(0, 0, 0, 0.5)">>
|
<<box-shadow "2px 2px 10px rgba(0, 0, 0, 0.5)">>
|
||||||
padding: 0.5em 0em 0.5em 0em;
|
padding: 0.5em 0em 0.5em 0em;
|
||||||
@ -492,8 +492,8 @@ canvas.tw-edit-bitmapeditor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tw-drop-down a:hover {
|
.tw-drop-down a:hover {
|
||||||
color: {{$:/core/styles/colourmappings##linkbackground}};
|
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkbackground}};
|
||||||
background-color: {{$:/core/styles/colourmappings##linkforeground}};
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkforeground}};
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -666,3 +666,16 @@ canvas.tw-edit-bitmapeditor {
|
|||||||
<<background-linear-gradient "left, rgb(236,236,236) 0%, rgb(255,255,255) 100%">>
|
<<background-linear-gradient "left, rgb(236,236,236) 0%, rgb(255,255,255) 100%">>
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Alerts
|
||||||
|
*/
|
||||||
|
|
||||||
|
.tw-alert {
|
||||||
|
<<border-radius 6px>>
|
||||||
|
margin: 0.5em 0.5em 0.5em 0.5em;
|
||||||
|
padding: 1em 1em 1em 1em;
|
||||||
|
border: 3px solid #DBB727;
|
||||||
|
background-color: rgb(250, 210, 50);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
title: $:/core/styles/colourmappings
|
title: $:/themes/tiddlywiki/snowwhite/colourmappings
|
||||||
type: application/x-tiddler-dictionary
|
type: application/x-tiddler-dictionary
|
||||||
|
|
||||||
tiddlerbackground: {{$:/core/styles/colours##background}}
|
tiddlerbackground: {{$:/themes/tiddlywiki/snowwhite/colours##background}}
|
||||||
pagebackground: {{$:/core/styles/colours##pagebackground}}
|
pagebackground: {{$:/themes/tiddlywiki/snowwhite/colours##pagebackground}}
|
||||||
linkbackground: {{$:/core/styles/colours##background}}
|
linkbackground: {{$:/themes/tiddlywiki/snowwhite/colours##background}}
|
||||||
linkforeground: {{$:/core/styles/colours##primary}}
|
linkforeground: {{$:/themes/tiddlywiki/snowwhite/colours##primary}}
|
||||||
dropdownbackground: {{$:/core/styles/colours##background}}
|
dropdownbackground: {{$:/themes/tiddlywiki/snowwhite/colours##background}}
|
||||||
dropdownborder: {{$:/core/styles/colours##medium}}
|
dropdownborder: {{$:/themes/tiddlywiki/snowwhite/colours##medium}}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
title: $:/core/styles/colours
|
title: $:/themes/tiddlywiki/snowwhite/colours
|
||||||
type: application/x-tiddler-dictionary
|
type: application/x-tiddler-dictionary
|
||||||
|
|
||||||
primary: `#5959C0`
|
primary: `#5959C0`
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
title: $:/core/styles/metrics
|
title: $:/themes/tiddlywiki/snowwhite/metrics
|
||||||
type: application/x-tiddler-dictionary
|
type: application/x-tiddler-dictionary
|
||||||
|
|
||||||
fontsize: `14px`
|
fontsize: `14px`
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
title: $:/core/styles/reset
|
title: $:/themes/tiddlywiki/snowwhite/reset
|
||||||
type: text/plain
|
type: text/plain
|
||||||
|
|
||||||
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user