Skip to content

Commit

Permalink
edit gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinem committed Aug 31, 2024
1 parent 81f0262 commit 7fc61db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/configure-pages@v5
- name: Build with RDoc
# Outputs to the './_site' directory by default
run: bundle exec rake rdoc --template=rorvswild
run: bundle exec rdoc --template=rorvswild
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down
44 changes: 9 additions & 35 deletions lib/rdoc/generator/template/rorvswild/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

/* System fonts, remove /fonts */
--font-primary: "Inter", system-ui, sans-serif;

--font-code: "Monaspace", ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
}

Expand Down Expand Up @@ -86,17 +85,13 @@ h6:hover span {
}

/* 4. Links */
:link,
:visited {
:any-link {
color: var(--primary-color);
text-decoration: underline;
transition: color 0.3s ease;
}

:link:hover,
:visited:hover {
color: var(--primary-hover-color);
}
:any-link:hover { color: var(--primary-hover-color); }

/* 5. Code and Pre */
code,
Expand Down Expand Up @@ -125,7 +120,7 @@ table tr th, table tr td {
}

table tr th {
background-color: oklch(95% 0.002 269);; /* todo */
background-color: oklch(95% 0.002 269); /* todo */
}

table tr:nth-child(even) td {
Expand Down Expand Up @@ -180,13 +175,9 @@ nav footer {
padding: 0 1em;
}

.nav-section h3 {
padding: 0;
}
.nav-section h3 { padding: 0; }

.nav-section ul {
margin-top: 0;
}
.nav-section ul { margin-top: 0; }

nav h2 {
margin: 0 0 0.5em;
Expand Down Expand Up @@ -221,13 +212,9 @@ main > ul {
list-style-type: square;
}

li {
padding: 0.25em 0;
}
li { padding: 0.25em 0; }

li li {
padding-bottom: 0;
}
li li { padding-bottom: 0; }

ul ul {
margin: 0 0 0 10px;
Expand All @@ -251,9 +238,7 @@ ul ul li:before {
background: var(--border-color);
}

ul ul li:last-of-type {
border-left: 0;
}
ul ul li:last-of-type { border-left: 0; }

ul ul li:last-of-type:after {
position: absolute;
Expand All @@ -266,23 +251,12 @@ ul ul li:last-of-type:after {
background: var(--border-color);
}

nav a {
color: var(--link-color);
text-decoration: none;
}

nav a:hover {
text-decoration: underline;
}

#navigation-toggle {
display: inline-block;
color: var(--background-color);
}

#home-section {
padding-left: 44px;
}
#home-section { padding-left: 44px; }

#home-section a:any-link {
text-decoration: none;
Expand Down

0 comments on commit 7fc61db

Please sign in to comment.