mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-28 12:29:56 +00:00
df84e93283
So that popups within the scrollable behave correctly. Fixes #1679
93 lines
1.6 KiB
Plaintext
93 lines
1.6 KiB
Plaintext
title: $:/_tw5.com-styles
|
|
tags: $:/tags/Stylesheet
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.tc-link-info {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
|
|
-webkit-flex-wrap: wrap;
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tc-link-info-item {
|
|
max-width: 24em;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
}
|
|
|
|
.tc-double-spaced-list li {
|
|
padding-bottom:.5em;padding-top:.5em;
|
|
}
|
|
|
|
.tc-link-info-item {
|
|
display: inline-block;
|
|
border: none;
|
|
padding: 5px 10px;
|
|
margin-bottom: 10px;
|
|
background: #ddeeff;
|
|
font-size: 0.8em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.tc-link-info-item h1 {
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.tc-scrollable-demo {
|
|
border: 1px solid <<colour message-border>>;
|
|
background-color: <<colour message-background>>;
|
|
padding: 1em;
|
|
height: 400px;
|
|
position: relative;
|
|
}
|
|
|
|
.tc-improvement-banner {
|
|
font-size: 0.7em;
|
|
background: #fcc;
|
|
padding-left: 5px;
|
|
margin-top: 6px;
|
|
margin-bottom: 12px;
|
|
<<box-shadow "2px 2px 2px rgba(0,0,0,0.4)">>
|
|
}
|
|
|
|
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
|
|
|
.tc-improvement-banner {
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
|
|
|
.tc-improvement-banner {
|
|
margin-right: -53px;
|
|
margin-left: -53px;
|
|
}
|
|
|
|
.tc-improvement-banner:before {
|
|
display: block;
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
content: " ";
|
|
margin-left: -5px;
|
|
margin-top: -10px;
|
|
border-top: 5px solid transparent;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid #C07E7E;
|
|
border-bottom: 5px solid #C07E7E;
|
|
}
|
|
|
|
}
|
|
|
|
.tc-improvement-banner svg {
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|