Skip to content

Commit

Permalink
Update style
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoff committed Dec 11, 2024
1 parent eb87097 commit fed8823
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 11 deletions.
5 changes: 2 additions & 3 deletions content/post/vale-asciidoc-disable.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
draft: false
title: 'Disabling Vale Linting Selectively in Asciidoc'
date: "2024-12-11T12:05:07Z"
image: "/images/2024/12/"
thumbnail: "/images/2024/12/"
image: "/images/2024/12/h_IMG_6387.webp"
thumbnail: "/images/2024/12/t_IMG_6386.webp"
credit: "https://bsky.app/profile/rmoff.net"
categories:
- asciidoc
Expand Down Expand Up @@ -310,4 +310,3 @@ Vale output is as expected:
not'.
15:32 suggestion 'FUBAR' has no definition. Microsoft.Acronyms
----
----
57 changes: 49 additions & 8 deletions themes/story/static/css/story.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ blockquote {
border-left: 0.25rem solid #dfe2e5;
}
pre {
border: 1px solid #dfe2e5;
/* border: 1px solid #dfe2e5; */
border-radius: 3px;
font-size: 75%;
/* font-size: 75%; */
line-height: 1.4;
padding: 1em;
/* padding: 1em; */
background: #f6f8fa;
overflow: auto;
}
Expand Down Expand Up @@ -147,19 +147,19 @@ body:not(.feature-tablefig) table tr:nth-child(2n) {
background-color: #f6f8fa;
}
body:not(.feature-tablefig) table th,
body:not(.feature-tablefig) table td {
body:not(.feature-tablefig, .linenotable) table td {
display: table-cell;
vertical-align: inherit;
padding: 0.25rem 0.5rem;
border: 1px solid #dfe2e5;
/*border: 1px solid #dfe2e5;*/
}
body:not(.feature-tablefig) table th {
font-weight: 600;
}
body.feature-tablefw:not(.feature-tablefig) td {
font-family: arial;
}
body.feature-tablefig:not(.feature-notablefig) table {
body.feature-tablefig:not(.feature-notablefig, .linenotable) table {
border-spacing: 0;
border-collapse: collapse;
overflow: auto;
Expand All @@ -168,7 +168,7 @@ body.feature-tablefig:not(.feature-notablefig) table {
border-top: 2px solid black;
}
body.feature-tablefig:not(.feature-notablefig) table thead,
body.feature-tablefig:not(.feature-notablefig) table tbody {
body.feature-tablefig:not(.feature-notablefig, .linenotable) table tbody {
border-bottom: 1px solid black;
}
body.feature-tablefig:not(.feature-notablefig) table th,
Expand Down Expand Up @@ -418,4 +418,45 @@ img[src~="3dbook"] {
text-decoration: underline;
}
a.headline-hash {opacity: 20%; text-decoration: none; font-size:80%; transition: opacity 0.5s;}
a.headline-hash:hover {opacity: 100%; font-size:100%;}
a.headline-hash:hover {opacity: 100%; font-size:100%;}
pre.lineno {
color:rgba(139, 0, 0, 0.4);
}

pre, code {
font-family: Consolas,monaco,monospace !important;

font-size:14px !important;
}

.listingblock .title {
color: darkred;
font-style: italic;
display: block;
border-bottom: 1px solid darkred;
width: 100%;
text-align: right;
}

.conum[data-value] *{color:#fff!important}
.conum[data-value]+b{display:none}
.conum[data-value]::after{content:attr(data-value)}
pre .conum[data-value]{position:relative;top:-.125em}
b.conum *{color:inherit!important}
.conum:not([data-value]):empty{display:none}


.conum[data-value] {
display: inline-block;
color: #fff!important;
background: rgba(139,0,0,.4);
border-radius: 50%;
text-align: center;
font-size: .75em;
width: 1.67em;
height: 1.67em;
line-height: 1.67em;
font-family: "Open Sans","DejaVu Sans",sans-serif;
font-style: normal;
font-weight: bold;
}

0 comments on commit fed8823

Please sign in to comment.