Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Please visit the URL below for more information: */
- /* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */
- .markdown-preview.markdown-preview {
- // modify your style here
- // background-color: blue;
- background-color: #282c34;
- ol {
- list-style: none;
- counter-reset: my-awesome-counter;
- }
- ol li {
- counter-increment: my-awesome-counter;
- padding-left: 20px;
- }
- ol li::before {
- // content: counter(my-awesome-counter, lower-alpha) ")";
- content: counter(my-awesome-counter) ")";
- font-weight: bold;
- position: absolute;
- transform: translateX(-40px);
- width: 25px;
- // margin-right: 20px;
- text-align: end;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: #abb2bf;
- font-weight: 400;
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- }
- h1 {
- font-size: 25px;
- border-bottom: 1px solid #4f5259;
- }
- h2 {
- font-size: 20px;
- }
- h3 {
- font-size: medium;
- }
- h4 {
- font-size: medium;
- font-weight: bold;
- }
- h5 {
- font-size: small;
- font-weight: bold;
- }
- h6 {
- font-size: 25px;
- }
- p {
- color: #abb2bf;
- font-size: 16px;
- }
- strong {
- color: #d6dbe2;
- }
- strong>em,
- em>strong,
- b>i,
- i>b {
- font-style:normal;
- font-weight:normal;
- text-decoration:underline;
- }
- }
- .markdown-preview > *:nth-child(2) {
- margin-top: 0px;
- }
- .markdown-preview > *:last-child::after {
- padding-bottom: 300px;
- // height: 500px;
- // width: 2px;
- background-color: red;
- // z-index: 1000;
- content: "a";
- visibility: hidden;
- // top: 0;
- position: relative;
- // margin-bottom: 500px;
- // transform: translateY(-500px);
- }
- .markdown-preview > * {
- margin-left: 20px;
- margin-right: 20px;
- // background-color: green;
- }
- .markdown-preview > pre[class*="language-"]{
- background-color: #1c1e23!important;
- font-size: 16px!important;
- }
- #input {
- position: absolute;
- width: 100%;
- left: -10px;
- height: 40px;
- transform: translateY(-10px);
- cursor: pointer;
- z-index: 5;
- opacity: 0;
- }
- #input:checked ~ .collapse{
- /* background-color: green; */
- max-height: 300vh;
- transform: translateY(0px);
- opacity: 1;
- }
- .collapse{
- transition: all 0.5s;
- max-height: 0;
- transform: translateY(20px);
- opacity: 0;
- }
- #label{
- width: 100%;
- height: 30px;
- text-decoration: underline;
- top: 0;
- /* font-weight: bold */
- /* margin-left: 30px; */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement