Skip to content

Commit

Permalink
Add CSS for asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Jan 30, 2025
1 parent 29bab79 commit 8abacad
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre
/* http://alumnos.elo.utfsm.cl/~osrehe - thx! */

@media all {
/* necessary for asciidoc stuff to work */
*, ::before, ::after {
box-sizing: border-box
}

html {background-color: #FFDA62; height: 100%;}
body {font-family: verdana, tahoma, helvetica, arial, sans-serif; font-size: 11pt; background-color:#FFDA62; margin: 0; padding: 0; height:100%}
div.container {width: 80%; text-align: left; background-color:#FFFFFF; margin: 0px auto 0px auto; border-width: 0 1px 0 1px; border-color: #E5E5E5; border-style: solid;}
Expand Down Expand Up @@ -58,6 +63,24 @@ html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre
font-family: "Ubuntu Mono", Consolas, Monaco, Courier, monospace;
padding: .5rem 1rem;
}

/* asciidoc support */

.admonitionblock>table {
border-collapse: separate;
border: 0;
width: 100%;
padding-top: 1em;
padding-bottom: 1em;
}
.admonitionblock>table td.icon {
text-align: center;
width: 12em;
}
.admonitionblock>table td.icon .title {
font-weight: bold;
text-transform: uppercase;
}
}

@media screen {
Expand Down

0 comments on commit 8abacad

Please sign in to comment.