Skip to content

Commit

Permalink
Merge pull request #120 from edrlab/epub-doc
Browse files Browse the repository at this point in the history
publish ressources
  • Loading branch information
gautierchomel authored Oct 23, 2024
2 parents a25b9a5 + f5dad92 commit 67f1ccd
Show file tree
Hide file tree
Showing 667 changed files with 3,243 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
public/
resources/
node_modules/
.hugo_build.lock
W/
Expand Down
101 changes: 101 additions & 0 deletions epub-doc/en/build/epub/EPUB/resources/css/edrlabpublications.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
@charset "UTF-8";
@namespace h "http://www.w3.org/1999/xhtml/";
@namespace epub "http://www.idpf.org/2007/ops";
@namespace svg "http://www.w3.org/2000/svg";

:root{
--color-blue: #1053c8;
}



svg {
width: 1em;
fill: var(--color-blue);
color: var(--color-blue);
filter: brightness(0.5) sepia(1) hue-rotate(140deg) saturate(6);
}

/* this does not works
@media (prefers-color-scheme: dark) {
.icons{
color: antiquewhite;
width: 10em;
}
} */



/*
$color-palette: (
light: (
--color-primary: #4d4d4d,
--color-secondary: #fff,
--color-blue: #1053C8,
--color-light-blue: #ECF2FD,
--color-extralight-grey: #f5f5f5,
--color-light-grey: #f1f1f1,
--color-medium-grey: #e5e5e5,
--color-accent: #00BCD4,
--color-accent-contrast: #fff,
--reader-fontColor: #000,
--scrollbar-thumb: #98989d,
--color-disabled: #61646B,
--color-error: #fedbd8,
--color-success: #ECFEF7,
),
dark: (
--color-primary: #e7eaf8,
--color-secondary: #121212,
--color-blue: #99A9E3,
--color-light-blue: #2D2D2D,
--color-extralight-grey: #27272a,
--color-light-grey: #48484b,
--color-medium-grey: #7c7d86,
--color-accent: #00BCD4,
--color-accent-contrast: #fff,
--reader-fontColor: #000,
--scrollbar-thumb: #98989d,
--color-disabled: #a7a9b3,
--color-error: #4f1d1d,
--color-success: #121d19, */

/*
--color-primary: #fff,
--color-secondary: #4d4d4d,
--color-tertiary: #67a3e0,
--color-disabled: #b7b7b7,
--color-light-grey: #f1f1f1,
--color-medium-grey: #e5e5e5,
--color-accent: rgb(0, 188, 212),
--color-accent-contrast: #fff,
--reader-fontColor: #fff,
--color-blue: rgba(16, 83, 200, 1),
--color-light-blue: rgba(236, 242, 253, 1),
--color-bg-tab: rgba(16, 18, 22, 0.6),
--setting-btn-primary: #fff,
--setting-btn-secondary: var(--color-secondary),
*/
/* ),
);
@function color($color, $value) {
@return map-get(map-get($color-palette, $color), $value);
}
@media (prefers-color-scheme: light) {
:root {
@each $key, $value in map-get($color-palette, light) {
#{$key}: color(light, #{$key});
}
}
}
@media (prefers-color-scheme: dark) {
@each $key, $value in map-get($color-palette, dark) {
#{$key}: color(dark, #{$key});
}
}
} */
35 changes: 35 additions & 0 deletions epub-doc/en/build/epub/EPUB/resources/css/page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
h1 {
font-family: serif;
border-bottom: 2px solid var(--color-blue);
}

.info {color: blueviolet;}
.alert {color: rgb(255, 123, 0)}
.danger {color: rgb(190, 0, 19)}

.icons {
width: 1em;
vertical-align: middle;
border-style: none;
margin-right: 0.2em;
}

.icons[data-theme='dark'] {
border-color: aliceblue;
border-width: 10px;
color: aliceblue;
}

.ui_button {
fill: var(--color-primary);
color: var(--color-blue);
width: fit-content;
padding: 0 5px;
height: 35px;
border: 1px solid var(--color-blue);
border-radius: 5px;
background-color: var(--color-light-blue);
align-items: center;
justify-content: center;
gap: 5px;
}
10 changes: 10 additions & 0 deletions epub-doc/en/build/epub/EPUB/resources/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
body{
font-family: 'Trueno', Helvetica, Arial, sans-serif;
margin: 5rem;
}

#toc {
list-style-type: none;
line-height: 2rem;
}

1 change: 1 addition & 0 deletions epub-doc/en/build/epub/EPUB/resources/images/asterism.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions epub-doc/en/build/epub/EPUB/resources/images/icons3/add-alone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 67f1ccd

Please sign in to comment.