Browse Source

feat: table styles, small tweaks

main
Inhji Y. 8 months ago
parent
commit
2d76ee7171
  1. 35
      assets/css/app.scss

35
assets/css/app.scss

@ -24,6 +24,7 @@ $bg-danger: #a94442;
$color-danger: #f2dede;
$color-text: #ddd;
$border-base: #999;
/* === Imports === */
@ -216,6 +217,18 @@ article {
margin-top: 2rem;
}
p {
margin-bottom: 1rem;
}
hr {
color: transparent;
height: 0;
width: 100%;
border-top: 1px solid $border-base;
margin: 1rem 0;
}
ul, ol {
margin-left: 2rem;
}
@ -224,6 +237,28 @@ article {
list-style-type: disc;
}
table {
width: 100%;
overflow-x: auto;
td, th {
border: 1px solid $border-base;
border-width: 0 0 1px;
padding: .5em .75em;
vertical-align: top;
}
thead th {
border-width: 0 0 2px;
}
tbody tr {
&:nth-child(odd) {
background: rgba(0,0,0,0.1);
}
}
}
blockquote, pre {
padding: 1rem;
background: rgba(0,0,0,0.1);

Loading…
Cancel
Save