Skip to content

Instantly share code, notes, and snippets.

@ciceronianus
ciceronianus / Roam-resize_images,pdf,iframe.css
Last active August 27, 2022 16:28
Roam-tricks by @CatoMinor3 - resizing images, pdf, iframes by triggering tags.
/*
Author: @CatoMinor3
Version: 1.1
Date: June 10th, 2020
PayPal support: https://twitter.com/CatoMinor3/status/1284173182245769216?s=20
How to use it: Write #make:wide etc. in front of an image, pdf or iframe.
*/
@ciceronianus
ciceronianus / Roam-pomo.css
Last active June 4, 2020 12:49
Roam - {{POMO}} with different styles for active and break, by @CatoMinor3
.rm-pomodoro {
background: #ff6956 !important;
color: #fff !important;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-top: 5px;
line-height: 1em;
font-weight: 600;
border-radius: 5px;
@ciceronianus
ciceronianus / Roam-youtube-resizer.css
Last active June 5, 2020 22:41
Roam - make Youtube video larger by @CatoMinor3
/* How to use: Simply put #make:yt-large infront of {{youtube: }} */
[data-tag*="make:yt-large"] ~ div iframe
{
width: 700px;
height: 400px;
}
@ciceronianus
ciceronianus / Roam-colored_fonts.css
Last active April 28, 2023 08:24
(deprecated) Roam - colored bold, italics and highlight by @CatoMinor3
/*
Author:: @CatoMinor3
Version:: 3.0
Date:: Sept.rm-italicsber 22nd, 2020
Changes log:
- 3.0 - code adapted for the new classes in Roam
- 2.1 - code adaptated for future support of colour shades (different opacity),
download the additonal CSS here: https://gist.github.com/ciceronianus/5d7b224658b7a9832a6249a13091aa9d
Support:
@ciceronianus
ciceronianus / Roam-sup-and-sub.css
Last active September 16, 2020 08:49
Roam - sup and sub :)
/*
Author:: @CatoMinor3
Version:: 1
Date:: June 8th, 2020
PayPal support: https://www.paypal.me/catominor3
How to use it: Write #sup or #sub and then use ^^higlight^^
*/
@ciceronianus
ciceronianus / Roam-text_align_center_as_blockquote.css
Last active September 16, 2020 17:38
Roam - text align center as blockquote
/*
Author: @CatoMinor3
Version: 1
Date: June 16th, 2020
Paypal support: https://www.paypal.me/catominor3
How to use: Simply select text align center from the context menu.
*/
.text-align-center {
@ciceronianus
ciceronianus / Roam-references-left-top.css
Last active July 19, 2020 07:20
Roam - Custom CSS for moving references to a more visible place
/*
Author: @CatoMinor3
Version: 0.9 (beta)
Date: July 1st
Paypal support: https://www.paypal.me/catominor3
What it does: Custom CSS for moving references to a more visible place:
- if the screen is wide enough, they are on the left;
- if small, they are on the top.
*/
@ciceronianus
ciceronianus / Roam-version-control-left.css
Last active July 19, 2020 07:19
Roam - version number control on the left
/*
Author: @CatoMinor3
Version: 1
Date: July 3rd
Paypal support: https://www.paypal.me/catominor3
What it does: Custom CSS that moves the version number controls from the top to the left.
*/
div[style*="flex: 1 1 100%; margin-bottom: 6px;"]
{
@ciceronianus
ciceronianus / Roam-mermaid-colors-in-graph.css
Last active October 1, 2020 06:15
Roam - Mermaid - custom colors for the graph
/*
Author: @CatoMinor3
Version: 1
Date: July 1st
Paypal support: https://www.paypal.me/catominor3
What it does: Custom CSS colors for Mermaid in Roam.
How to use it?
1) Put this code into roam/css
2) Simply assign class to the item under {{mermaid}}: