mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 02:59:01 +08:00
93 lines
1.3 KiB
SCSS
93 lines
1.3 KiB
SCSS
@import "~variables";
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
text-size-adjust: 100%;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
-webkit-touch-callout: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-rendering: optimizeLegibility;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-family: -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Helvetica Neue, sans-serif;
|
|
font-size: 18px;
|
|
color: $color-black;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p,
|
|
ul,
|
|
ol,
|
|
pre,
|
|
blockquote {
|
|
margin: 1rem 0;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.button {
|
|
font-weight: bold;
|
|
display: inline-flex;
|
|
background: transparent;
|
|
border: 0;
|
|
color: $color-black;
|
|
padding: 0.2rem 0.5rem;
|
|
margin-right: 0.2rem;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
background-color: rgba($color-black, 0.1);
|
|
|
|
&:hover {
|
|
background-color: rgba($color-black, 0.15);
|
|
}
|
|
}
|
|
|
|
.message {
|
|
background-color: rgba($color-black, 0.05);
|
|
color: rgba($color-black, 0.7);
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
margin-bottom: 1.5rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
@import "./editor";
|
|
@import "./menubar";
|
|
@import "./menububble";
|