Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
axiom-team-fr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
websites
axiom-team-fr
Commits
477fd421
Commit
477fd421
authored
6 months ago
by
Emmanuel Salomon
Browse files
Options
Downloads
Patches
Plain Diff
Move common style to app
parent
0e6f8162
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.vue
+61
-0
61 additions, 0 deletions
app.vue
pages/[...slug].vue
+1
-63
1 addition, 63 deletions
pages/[...slug].vue
with
62 additions
and
63 deletions
app.vue
+
61
−
0
View file @
477fd421
...
@@ -61,4 +61,65 @@
...
@@ -61,4 +61,65 @@
.EDITOR_VIEWPORT
{
.EDITOR_VIEWPORT
{
overflow
:
visible
!important
;
overflow
:
visible
!important
;
}
}
.prose
{
max-width
:
100%
!important
;
table
p
{
margin
:
0
!important
;
}
table
tr
,
table
th
,
table
td
{
border
:
1px
solid
lightgray
;
}
table
tr
,
table
th
:first-child
,
table
tr
td
:first-child
{
border-left
:
none
!important
;
}
table
tr
,
table
th
:last-child
,
table
tr
td
:last-child
{
border-right
:
none
!important
;
}
table
thead
tr
:first-child
,
table
thead
tr
:first-child
th
{
border-top
:
none
!important
;
border-bottom
:
2px
solid
var
(
--secondary-500
);
}
}
.prose
.element-full-width
{
margin-left
:
auto
;
margin-right
:
auto
;
}
.prose
>*
:not
(
.element-full-width
)
{
max-width
:
100%
;
margin-left
:
auto
;
margin-right
:
auto
;
}
@media
(
min-width
:
640px
)
{
.prose
>*
:not
(
.element-full-width
)
{
max-width
:
640px
;
}
}
@media
(
min-width
:
768px
)
{
.prose
>*
:not
(
.element-full-width
)
{
max-width
:
768px
;
}
}
@media
(
min-width
:
1024px
)
{
.prose
>*
:not
(
.element-full-width
)
{
max-width
:
1024px
;
}
}
</
style
>
</
style
>
This diff is collapsed.
Click to expand it.
pages/[...slug].vue
+
1
−
63
View file @
477fd421
...
@@ -7,6 +7,7 @@ const data = ref({})
...
@@ -7,6 +7,7 @@ const data = ref({})
<
template
>
<
template
>
<main
class=
"relative"
>
<main
class=
"relative"
>
<ViewModeSwitcher
/>
<ViewModeSwitcher
/>
<ContentDoc>
<ContentDoc>
<template
#default
="
{ doc }">
<template
#default
="
{ doc }">
<div
class=
"prose mx-4"
>
<div
class=
"prose mx-4"
>
...
@@ -34,66 +35,3 @@ const data = ref({})
...
@@ -34,66 +35,3 @@ const data = ref({})
</ContentDoc>
</ContentDoc>
</main>
</main>
</template>
</template>
<
style
lang=
"postcss"
>
.prose {
max-width: 100% !important;
table p {
margin: 0 !important;
}
table tr,
table th,
table td {
border: 1px solid lightgray;
}
table tr,
table th:first-child,
table tr td:first-child {
border-left: none !important;
}
table tr,
table th:last-child,
table tr td:last-child {
border-right: none !important;
}
table thead tr:first-child,
table thead tr:first-child th {
border-top: none !important;
border-bottom: 2px solid var(--secondary-500);
}
}
.prose .element-full-width {
margin-left: auto;
margin-right: auto;
}
.prose>*:not(.element-full-width) {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
@media (min-width: 640px) {
.prose>*:not(.element-full-width) {
max-width: 640px;
}
}
@media (min-width: 768px) {
.prose>*:not(.element-full-width) {
max-width: 768px;
}
}
@media (min-width: 1024px) {
.prose>*:not(.element-full-width) {
max-width: 1024px;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment