Skip to content

Instantly share code, notes, and snippets.

@negokaz
Created March 16, 2017 10:49
Show Gist options
  • Save negokaz/a43c3e1acca0cb89a5de5c4543867e11 to your computer and use it in GitHub Desktop.
Save negokaz/a43c3e1acca0cb89a5de5c4543867e11 to your computer and use it in GitHub Desktop.
/**
* remark preview css
*/
.remark-container {
overflow: visible;
}
.remark-slide-container {
--slide-ratio: 3/4;
display: block;
position: static;
background-color: gray;
height: calc(100vw * var(--slide-ratio) + 1px);
}
thead {
display: table-row-group;
}
.remark-slide-scaler {
position: static;
top: 0 !important;
left: 0 !important;
transform-origin: left top;
box-shadow: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment