Skip to content

Commit

Permalink
Improve code block & max-widht for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Jan 14, 2025
1 parent cacada3 commit afcda7c
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 48 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

File renamed without changes.
6 changes: 3 additions & 3 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"src": "public/img/ui/blockquote/warning.svg"
},
"resources/css/app.scss": {
"file": "assets/app-DKgGcTI_.css",
"file": "assets/app-Dq9x9Vhz.css",
"src": "resources/css/app.scss",
"isEntry": true
},
"resources/js/app.js": {
"file": "assets/app-Cw1dfBf1.js",
"file": "assets/app-DIW8daw-.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true,
"css": [
"assets/app-Ccfm11b9.css"
"assets/app-mELSyIb6.css"
]
}
}
2 changes: 1 addition & 1 deletion resources/css/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ main,
}

.container-docs {
max-width: 1680px;
max-width: 1720px;
margin: 0 auto;
}

Expand Down
64 changes: 37 additions & 27 deletions resources/css/highlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,46 +21,67 @@ pre {
-webkit-overflow-scrolling: touch;
max-width: 100%;

.hl-attribute,
.hl-attribute {
color: #FFCB6B;
}

.hl-template,
.hl-value {
color: #4bef96;
}

.hl-constant,
.hl-property,
.hl-number {
color: #b288ff;
color: #F78C6C;
}

.hl-constant,
.hl-property,
.hl-function {
color: #f98f8c;
color: #82AAFF;
}

.hl-slug,
.hl-operator,
.hl-tag2,
.hl-keyword,
.hl-property2,
.hl-operator,
.hl-variable,
.hl-value2 {
color: #82d4f7;
.hl-property2 {
color: #C792EA;
}

.hl-tag,
.hl-type,
.hl-literal {
color: #ffd06b;
color: #FFCB8B;
}

.hl-comment {
color: #6c757d;
font-style: italic;
}

.hl-delimeter {
color: #d2cdea;
}

.hl-delimeter,
.hl-deletion {
color: #d2cdea;
min-width: 100%;
background-color: #ff000033;
}

.hl-generic,
.hl-comment {
color: #8781a2;
.hl-addition {
min-width: 100%;
background-color: #2a4b3c;
color: #4bef96;
}

.hl-comment span {
opacity: 0.7;
}

.hl-tag2,
.hl-value2,
.hl-slug {
color: #f98f8c;
}

.hl-blur {
Expand All @@ -75,17 +96,6 @@ pre {
font-style: italic;
}

.hl-deletion {
min-width: 100%;
background-color: #ff000033;
}

.hl-addition {
min-width: 100%;
background-color: #2a4b3c;
color: #4bef96;
}

.hl-gutter {
display: inline-block;
font-size: 0.9em;
Expand Down

0 comments on commit afcda7c

Please sign in to comment.