pique/static/main.css

197 lines
4.8 KiB
CSS
Raw Normal View History

2024-05-14 20:19:37 +00:00
/* node_modules/@milkdown/theme-nord/lib/style.css */
.ProseMirror {
position: relative;
2024-05-14 20:19:37 +00:00
word-wrap: break-word;
white-space: pre-wrap;
white-space: break-spaces;
font-variant-ligatures: none;
font-feature-settings: "liga" 0;
}
2024-05-14 20:19:37 +00:00
.ProseMirror pre {
white-space: pre-wrap;
}
2024-05-14 20:19:37 +00:00
.ProseMirror li {
2024-05-06 01:29:48 +00:00
position: relative;
}
2024-05-14 20:19:37 +00:00
.ProseMirror-hideselection *::selection {
background: transparent;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror-hideselection *::-moz-selection {
background: transparent;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror-hideselection {
caret-color: transparent;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror [draggable][contenteditable=false] {
-webkit-user-select: text;
-moz-user-select: text;
user-select: text;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror-selectednode {
outline: 2px solid #8cf;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
li.ProseMirror-selectednode {
outline: none;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
li.ProseMirror-selectednode:after {
2024-05-06 01:29:48 +00:00
content: "";
2024-05-14 20:19:37 +00:00
position: absolute;
left: -32px;
right: -2px;
top: -2px;
bottom: -2px;
border: 2px solid #8cf;
pointer-events: none;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
img.ProseMirror-separator {
display: inline !important;
border: none !important;
margin: 0 !important;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror .tableWrapper {
overflow-x: auto;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror table {
border-collapse: collapse;
table-layout: fixed;
2024-05-06 01:29:48 +00:00
width: 100%;
overflow: hidden;
}
2024-05-14 20:19:37 +00:00
.ProseMirror td,
.ProseMirror th {
vertical-align: top;
box-sizing: border-box;
position: relative;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror .column-resize-handle {
position: absolute;
right: -2px;
top: 0;
bottom: 0;
width: 4px;
z-index: 20;
background-color: #adf;
pointer-events: none;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.ProseMirror.resize-cursor {
cursor: ew-resize;
cursor: col-resize;
}
2024-05-14 20:19:37 +00:00
.ProseMirror .selectedCell:after {
z-index: 2;
position: absolute;
content: "";
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #c8c8ff66;
pointer-events: none;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord blockquote {
border-left-width: 4px;
2024-05-06 01:29:48 +00:00
--tw-border-opacity: 1;
2024-05-14 20:19:37 +00:00
border-color: rgb(94 129 172 / var(--tw-border-opacity));
padding-left: 1rem;
font-family:
ui-serif,
Georgia,
Cambria,
Times New Roman,
Times,
serif;
font-style: normal;
}
.milkdown-theme-nord code {
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
Liberation Mono,
Courier New,
monospace;
font-weight: 400;
--tw-text-opacity: 1;
color: rgb(94 129 172 / var(--tw-text-opacity));
}
.milkdown-theme-nord pre code {
color: inherit;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord img {
margin-top: 0 !important;
margin-bottom: 0 !important;
display: inline-block;
max-width: 100%;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose :where(blockquote):not(:where([class~=not-prose] *)) {
font-weight: 400;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose :where(ol > li):not(:where([class~=not-prose] *))::marker,
.milkdown-theme-nord.prose :where(ul > li):not(:where([class~=not-prose] *))::marker {
--tw-text-opacity: 1;
color: rgb(94 129 172 / var(--tw-text-opacity));
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before,
.milkdown-theme-nord.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):after {
2024-05-06 01:29:48 +00:00
content: "";
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose :where(code):not(:where([class~=not-prose] *)):before,
.milkdown-theme-nord.prose :where(code):not(:where([class~=not-prose] *)):after {
2024-05-06 01:29:48 +00:00
content: "";
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose .tableWrapper {
position: relative;
margin-bottom: .5rem;
overflow-x: auto;
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose table {
margin: 1rem !important;
overflow: visible !important;
font-size: .875rem;
2024-05-06 01:29:48 +00:00
line-height: 1.25rem;
2024-05-14 20:19:37 +00:00
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
box-shadow:
var(--tw-ring-offset-shadow, 0 0 #0000),
var(--tw-ring-shadow, 0 0 #0000),
var(--tw-shadow);
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
@media (min-width: 640px) {
.milkdown-theme-nord.prose table {
border-radius: .5rem;
}
2024-03-24 05:28:21 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose td,
.milkdown-theme-nord.prose th {
padding: .75rem 1.5rem !important;
2024-03-24 05:28:21 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose tr {
border-bottom-width: 1px;
2024-03-24 05:28:21 +00:00
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity));
2024-03-24 05:28:21 +00:00
}
2024-05-14 20:19:37 +00:00
:is(.dark .milkdown-theme-nord.prose tr) {
--tw-border-opacity: 1;
border-color: rgb(75 85 99 / var(--tw-border-opacity));
2024-05-06 01:29:48 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose :where(td, th) p {
margin: 0 !important;
2024-03-24 05:28:21 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose :where(td, th):nth-child(odd) {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
2024-03-24 05:28:21 +00:00
}
2024-05-14 20:19:37 +00:00
:is(.dark .milkdown-theme-nord.prose :where(td, th):nth-child(odd)) {
2024-03-24 05:28:21 +00:00
--tw-bg-opacity: 1;
2024-05-14 20:19:37 +00:00
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
2024-03-24 05:28:21 +00:00
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose.ProseMirror .selectedCell:after {
background-color: #88c0d04d;
}
2024-05-14 20:19:37 +00:00
.milkdown-theme-nord.prose br[data-is-inline=true],
.milkdown-theme-nord.prose br[data-is-inline=true]:after {
content: " ";
}