Skip to content

Instantly share code, notes, and snippets.

@praveenpuglia
Last active June 15, 2023 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save praveenpuglia/da4de22c032169e1d5c9037ba70374fb to your computer and use it in GitHub Desktop.
Save praveenpuglia/da4de22c032169e1d5c9037ba70374fb to your computer and use it in GitHub Desktop.
Stylebot custom CSS for Outline Wiki
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,700&display=swap');
body {
--inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
--ibm-plex-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: var(--inter);
}
/* The title */
[class^='EditableTitle__Title'] {
font-weight: bold;
font-size: 3rem;
color: #1f7ae0;
-webkit-text-fill-color: #1f7ae0;
margin-left: 0;
}
/* Editor & Content */
/* Paragraphs */
[class^='ProseMirror'] p{
margin-bottom: 0.5rem;
font-family: var(--ibm-plex-sans);
}
/* Lists */
[class^='ProseMirror'] li{
margin-bottom: 0.5rem;
}
[class^='ProseMirror'] li p{
margin-bottom: 0;
}
::marker {
font-weight: bold;
}
/* Headings */
.heading-content {
font-family: var(--inter);
}
h1 .heading-content {
font-weight: bold;
}
h2 .heading-content {
font-weight: bold;
}
h3 .heading-content {
font-weight: bold;
}
h4 .heading-content {
font-weight: bold;
}
/* Code Blocks */
.code-block pre code, code[spellcheck=false]{
font-family: ui-monospace,
Menlo, Monaco,
"Cascadia Mono", "Segoe UI Mono",
"Roboto Mono",
"Oxygen Mono",
"Ubuntu Monospace",
"Source Code Pro",
"Fira Mono",
"Droid Sans Mono",
"Courier New", monospace;
font-size: 75%;
}
.code-block pre code {
font-size: 12px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment