Verified Commit e6cf3e60 authored by Roberto Bochet's avatar Roberto Bochet
Browse files

Changed the template

parent 89fbdc23
## custom.css
The theme is based on `chesterish` from project [jupyter-themes](https://github.com/dunovank/jupyter-themes) relased under `MIT License`.
The base theme are got with
```sh
jt -t chesterish -tfs 25 -fs 25 -ofs 25 -cellw 80%
```
### changes
- Remove colored border in the middle
Delete rows
```css
border-right: 2px solid rgba(0,156,209,.5);
```
- Add some margin between cells
```css
.cell {
margin: 5vh 0 !important;
}
```
- Fix font size issue with `In [ ]:`
```css
div.prompt.input_prompt {
font-size: 15pt !important;
}
```
- Replace theme colors with POuL colors
- `#0b98c8` -> `#ffc600`
- `#008ebf` -> `#ffc600`
- `#005573` -> `#ffc600`
- `#0080aa` -> `#c49f20`
- `#12a3d6` -> `#c49f20`
- `rgba(0,156,209,.5)` -> `#ffc600`
- Add style for intro and outro slides
```css
/* intro and outro slides */
.cell:first-of-type div.text_cell_render,
.cell:last-of-type div.text_cell_render {
font-size: 80px !important;
}
.cell:first-of-type a.anchor-link,
.cell:last-of-type a.anchor-link {
display: none !important;
}
.cell:first-of-type .intro_title {
font-size: 1.5em !important;
}
.cell:first-of-type .intro_subtitle {
font-size: 1.2em !important;
}
.cell:first-of-type .intro_author {
font-size: 0.5em !important;
}
.cell:first-of-type .intro_logo {
width: 45% !important;
}
.cell:last-of-type .outro_title {
font-size: 1.5em !important;
}
.cell:last-of-type .outro_logo {
width: 20% !important;
}
.cell:last-of-type .outro_license {
display: block;
margin-top: 40px !important;
}
.cell:last-of-type .outro_license img {
width: 10% !important;
}
.cell:last-of-type .outro_license_text {
width: 100% !important;
text-align: center !important;
font-size: 0.2em !important;
line-height: 100% !important;
}
.cell:last-of-type .outro_author {
font-size: 0.5em !important;
}
```
\ No newline at end of file
html {
--yellow-poul: #ffc600;
--backgroud-primary: #191919;
--backgroud-secondary: #1e1e1e;
--color-text-neutral: white;
--color-text-primary: var(--yellow-poul);
}
body, div.body {
color: var(--color-text-neutral);
background-color: var(--backgroud-primary);
}
body > #header {
background-color: var(--backgroud-primary);
}
.navbar {
background-color: var(--backgroud-primary);
}
.navbar-default .navbar-nav > li > a {
color: var(--color-text-neutral);
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
color: var(--color-text-neutral);
}
.btn-default, .form-control, .ui-widget-content, .notification_widget {
color: var(--color-text-neutral);
background-color: #2d2f2f;
}
.btn-default:hover {
color: var(--color-text-neutral);
background-color: #474747;
}
/* notebook page */
#site {
scroll-behavior: smooth;
scrollbar-width: none;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment