Skip to content

Commit 3aad8d2

Browse files
committed
wip
1 parent d3d7efa commit 3aad8d2

File tree

3 files changed

+29
-44
lines changed

3 files changed

+29
-44
lines changed

stack/css/markdown.min.css

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* @override
22
https://shaarli:8890/tpl/chaaplin/css/markdown.min.css?*
3-
https://liens.rolandtisserand.fr/tpl/bubbles/css/markdown.min.css?* */
3+
https://liens.rolandtisserand.fr/tpl/bubbles/css/markdown.min.css?*
4+
https://liens.rolandtisserand.fr/tpl/stack/css/markdown.min.css?* */
45

56

67
.markdown img {
@@ -44,25 +45,21 @@
4445
}
4546

4647
.markdown blockquote {
47-
color: var(--color06);
4848
padding-left: 1em;
49-
border-left: .2em var(--color01) solid;
50-
margin: .75em 0
49+
border-left: .2em solid rgba(131, 131, 131, 0.57);
50+
margin: .75em 0;
51+
opacity:.7
5152
}
5253

5354
.markdown hr {
5455
display: block;
5556
height: 1px;
5657
border: 0;
57-
border-bottom: 1px solid var(--color01);
58+
border-bottom: 1px solid var(--dark-main-color);
5859
margin: 1em 0;
5960
padding: 0
6061
}
6162

62-
.markdown pre, .markdown code, .markdown kbd, .markdown samp {
63-
font-family: monospace,"courier new";
64-
font-size: .98em
65-
}
6663

6764
.markdown pre {
6865
white-space: pre;
@@ -142,22 +139,15 @@ list-style-type: disc;
142139
margin-top:0;
143140
}
144141

145-
@media only screen and (min-width: 480px) {
146-
.markdown {
147-
font-size: .9em
148-
}
149-
}@media only screen and (min-width: 768px) {
150-
.markdown {
151-
font-size: 1em
152-
}
153-
}
142+
154143
#linklist .markdown li {
155144
padding: 0;
156145
border: none;
157146
background: none
158147
}
159148

160149
#linklist .markdown ul li {
150+
list-style-type: square;
161151
}
162152

163153
#linklist .markdown ol li {
@@ -202,33 +192,28 @@ list-style-type: disc;
202192
}
203193

204194
.markdown pre {
205-
background-color: var(--color10);
206-
padding: 2ch;
195+
background-color: rgba(132, 132, 132, 0.2);
196+
padding: 1ch;
207197
overflow: auto;
198+
border-radius: var(--border-radius);
208199
}
209200

210201
.markdown pre code {
211-
color: var(--blank-color);
212202
font-family: "Consolas","Monaco","Andale Mono",monospace;
213203
direction: ltr;
214204
text-align: left;
215205
white-space: pre;
216206
word-spacing: normal;
217207
word-break: normal;
218208
line-height: 1.7;
219-
font-size: 11.5px;
220-
-moz-tab-size: 4;
221-
-o-tab-size: 4;
222209
tab-size: 4;
223-
-webkit-hyphens: none;
224-
-moz-hyphens: none;
225-
-ms-hyphens: none;
226210
hyphens: none
227211
}
228212

229213
.markdown :not(pre) code {
230-
background-color: var(--color01);
231-
padding: 1px 3px;
214+
padding: 3px;
215+
border-radius: var(--border-radius);
216+
background-color: rgba(132, 132, 132, 0.2);
232217
}
233218

234219
#pageheader .md_help {

stack/css/stack.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -572,11 +572,12 @@ details summary {
572572
color: var(--dark-main-color);
573573
background-color: var(--background-color);
574574
display: inline-flex;
575-
border-radius: 2rem;
575+
border-radius: .5rem;
576576
padding: .2rem;
577-
padding-left: 1rem;
577+
padding-left: .6rem;
578578
padding-right: .6rem;
579579
align-items: center;
580+
text-decoration: none;
580581
}
581582

582583
#search-result-block .remove svg {
@@ -1186,16 +1187,14 @@ input#tagfilter_value {
11861187
}
11871188

11881189
.plus-cross .svg-line {
1189-
stroke-width: 2px;
1190+
stroke-width: 1px;
11901191
vector-effect: non-scaling-stroke;
11911192
}
11921193

1193-
1194-
.expand-private .svg-line {
1195-
stroke: var(--color-alerte);
1194+
.private-icon path {
1195+
fill:var(--color-alerte) ;
11961196
}
11971197

1198-
11991198
.svg-fill {
12001199
fill: var(--dark-main-color);
12011200
stroke: none;
@@ -1470,6 +1469,7 @@ a:hover .svg-fill {
14701469
white-space: nowrap;
14711470
text-decoration: none;
14721471
border: 1px solid var(--dark-main-color);
1472+
font-size: 85%;
14731473
}
14741474

14751475
.tags-header-linklist a:hover, .linklist-item .tags a:hover {
@@ -1481,14 +1481,14 @@ a:hover .svg-fill {
14811481
position: absolute;
14821482
right: 7px;
14831483
top: 7px;
1484-
height: 15px;
1484+
height: 100%;
14851485
width: auto;
14861486
padding: 0;
14871487
border: none;
14881488
z-index: 200;
14891489
cursor: pointer;
14901490
display: block;
1491-
background: none;
1491+
background: blue;
14921492
}
14931493

14941494
@media (min-width:768px) {
@@ -2214,8 +2214,8 @@ hr {
22142214
}
22152215

22162216
#linklist :target {
2217-
border: .5rem solid var(--dark-main-color);
2218-
}
2217+
border: 0 dotted #333;
2218+
box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; }
22192219

22202220
#linklist header {
22212221
display: flex;

stack/linklist.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@
103103

104104
<h2>{if="$is_logged_in"}<span class="ctrl-checkbox" aria-hidden="true">
105105
<input type="checkbox" class="link-checkbox rounded-checkbox" value="{$value.id}"></span>{/if}
106-
{if="$value.private"}
107-
<svg viewbox="0 0 11 16" class="private-icon"><path d="M9.6,6.9V5.2C9.6,2.9,7.8,1,5.5,1S1.4,2.9,1.4,5.2v1.7H0.1V16h10.8V6.9H9.6z M5.5,13.9c-1.1,0-1.9-0.9-1.9-1.9
106+
107+
{if="$value.sticky"} <svg viewBox="0 0 9 15" class="pin-icon"><polygon class="svg-fill" points="5.2,15 5.2,10.2 8.9,10.2 8.9,9.2 7.4,7.6 7.4,1.6 8.6,1.6 8.6,0 0.4,0 0.4,1.6 1.6,1.6 1.6,7.6 0.1,9.2 0.1,10.2
108+
3.8,10.2 3.8,15 "/></svg>{/if}
109+
{if="$value.private"}<svg viewbox="0 0 11 16" class="private-icon"><path d="M9.6,6.9V5.2C9.6,2.9,7.8,1,5.5,1S1.4,2.9,1.4,5.2v1.7H0.1V16h10.8V6.9H9.6z M5.5,13.9c-1.1,0-1.9-0.9-1.9-1.9
108110
s0.9-1.9,1.9-1.9s1.9,0.9,1.9,1.9S6.6,13.9,5.5,13.9z M8.2,6.9H2.8V5.2c0-1.5,1.2-2.7,2.7-2.7s2.7,1.2,2.7,2.7
109111
C8.2,5.2,8.2,6.9,8.2,6.9z"/></svg>
110112
{/if}
111-
{if="$value.sticky"} <svg viewBox="0 0 9 15" class="pin-icon"><!--<rect width="21" height="21" class="svg-fill-empty"/>--><polygon class="svg-fill" points="5.2,15 5.2,10.2 8.9,10.2 8.9,9.2 7.4,7.6 7.4,1.6 8.6,1.6 8.6,0 0.4,0 0.4,1.6 1.6,1.6 1.6,7.6 0.1,9.2 0.1,10.2
112-
3.8,10.2 3.8,15 "/></svg>{/if}
113113
<a href="{$value.real_url}" class="linklist-real-url"><span class="linklist-link">{$value.title_html}</span><span class="url-display">{$value.real_url}</span></a>
114114
</h2>
115115
{if="$value.tags"}

0 commit comments

Comments
 (0)