Commit b3a9df6
authored
refactor: styles (#258)
## What Did You Change?
Break up styles so "entrypoint" to contribute CSS is smaller.
<details>
- **Reorganized styles.**
- Offer `inbox.css` (free-form) and `import.css` (structured).
- Hide advanced stylesheets in subdirectories.
- Renamed extra JavaScript file.
<sup>(unused, empty)</sup>
</details>
## Do You Want Support (syntax, design, etc)?
Does this structure to make CSS approachable or more intimidating?
**BEFORE**
[One 300-line
stylesheet](https://github.com/DesignSafe-CI/DS-User-Guide/blob/v3.0.0/user-guide/css/ds-user-guide.css)
(organized and commented).
```
.
├── ds-user-guide.css
└── README.md
```
**AFTER**
Many small stylesheets. One [import
stylesheet](https://github.com/DesignSafe-CI/DS-User-Guide/blob/refactor/css-and-js/user-guide/css/import.css).
One ["inbox"
stylesheet](https://github.com/DesignSafe-CI/DS-User-Guide/blob/refactor/css-and-js/user-guide/css/inbox.css).
```
.
├── ds-user-guide
│ ├── …
│ └── …
├── for-other-repos
│ ├── …
│ └── …
├── tacc
│ ├── …
│ └── …
├── import.css
├── inbox.css
└── README.md
```1 parent f720b93 commit b3a9df6
File tree
27 files changed
+315
-286
lines changed- user-guide
- css
- ds-user-guide
- for-other-repos
- for-core-styles
- for-mkdocs-tacc
- tacc
- js
- ds-user-guide
27 files changed
+315
-286
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments