Skip to content

Commit e2826cd

Browse files
authored
style(docsWeb): add css for docs (#382)
1 parent b62d084 commit e2826cd

5 files changed

Lines changed: 14 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scully:compile:watch": "tsc -w -p ./scully/tsconfig.scully.json",
1717
"scully:compile:run": "npm run scully:compile && npm run scully:run",
1818
"scully:run": "node ./dist/scully/scully --tds --project=sampleBlog",
19-
"scully:run:docs": "node ./dist/scully/scully --tds --project=scullyDocs --nw",
19+
"scully:run:docs": "node ./dist/scully/scully --tds --project=scullyDocs",
2020
"scully:run:tests": "npm run test && npm run e2e:server",
2121
"scully:run:cypress": "node ./dist/scully/scully serve --project=sampleBlog --tds",
2222
"scully:serve": "node ./dist/scully/scully serve --tds --project=sampleBlog",

projects/scullyDocs/src/assets/scully-routes.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
{
55
"route": "/docs/CODE_OF_CONDUCT",
66
"title": "Code of Conduct",
7-
"order": 200,
7+
"order": 900,
88
"sourceFile": "CODE_OF_CONDUCT.md"
99
},
1010
{
1111
"route": "/docs/getting-started",
1212
"title": "Getting Started",
13-
"order": 100,
13+
"order": 200,
1414
"sourceFile": "getting-started.md"
1515
},
1616
{"route": "/docs/getting-started_es", "sourceFile": "getting-started_es.md"},
@@ -21,7 +21,7 @@
2121
{
2222
"route": "/docs/pre-requisites",
2323
"subtitle": "Prerequisites",
24-
"order": 101,
24+
"order": 100,
2525
"sourceFile": "pre-requisites.md"
2626
},
2727
{"route": "/docs/recommended-plugins", "sourceFile": "recommended-plugins.md"},
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
<style>
2+
ul {
3+
list-style-position: inside;
4+
padding-bottom: 16px;
5+
}
6+
</style>
17
<scully-content></scully-content>

projects/scullyDocs/src/docs/docs.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
:host {
33
display: grid;
44
min-height: 100%;
5-
grid-template-columns: 400px 1fr;
5+
grid-template-columns: 400px 3fr 1fr;
66
gap: 2rem;
77
}
88
</style>
99
<app-left-menu [list]="docs$ | async"> </app-left-menu>
10-
1110
<main>
1211
<router-outlet></router-outlet>
1312
</main>
13+
<div></div>

projects/scullyDocs/src/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ pre {
298298
border-top: black solid 15px;
299299
overflow-x: auto;
300300
min-height: 100px;
301-
padding: 16px;
302-
margin: 24px 0 24px 0;
301+
padding: 16px 35px 35px 20px;
302+
margin: 35px 75px;
303303
}
304304

305305
app-code > pre > code::before,

0 commit comments

Comments
 (0)