Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
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
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
osuny
Theme
Commits
be4f4151
Commit
be4f4151
authored
1 year ago
by
Arnaud Levy
Browse files
Options
Downloads
Patches
Plain Diff
Fix posts
parent
f25f67f4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/sass/_theme/blocks/posts.sass
+12
-12
12 additions, 12 deletions
assets/sass/_theme/blocks/posts.sass
with
12 additions
and
12 deletions
assets/sass/_theme/blocks/posts.sass
+
12
−
12
View file @
be4f4151
...
...
@@ -26,7 +26,7 @@
margin-top
:
$spacing-5
@include
in-page-with-sidebar
.grid
@include
grid
(
2
,
desktop
,
var
(
--
grid-gutter
)
,
half
(
var
(
--
grid-gutter
))
)
@include
grid
(
2
,
desktop
,
var
(
--
grid-gutter
)
,
var
(
--
grid-gutter
))
@include
in-page-without-sidebar
.grid
@include
grid
(
$block-posts-grid-columns
)
...
...
@@ -60,7 +60,7 @@
.large
.post
flex-direction
:
row
gap
:
half
(
var
(
--
grid-gutter
)
)
gap
:
var
(
--
grid-gutter
)
+
.post
margin-top
:
$spacing-4
p
[
itemprop
=
"articleBody"
]
...
...
@@ -100,7 +100,7 @@
@include
media-breakpoint-up
(
xl
)
.media
,
.post-content
width
:
calc
(
#{
columns
(
4
)
}
+
#{
half
(
var
(
--
grid-gutter
))
}
)
width
:
columns
(
4
)
@include
in-page-without-sidebar
.large
.post
...
...
@@ -123,9 +123,9 @@
@include
media-breakpoint-down
(
desktop
)
article
position
:
relative
padding-bottom
:
half
(
$spacing-
5
)
padding-bottom
:
$spacing-
3
+
article
margin-top
:
half
(
$spacing-
5
)
margin-top
:
$spacing-
3
.post-content
display
:
flex
flex-direction
:
column
...
...
@@ -151,10 +151,10 @@
+
article
margin-top
:
$spacing-3
.media
width
:
calc
(
#{
columns
(
2
)
}
+
#{
half
(
var
(
--
grid-gutter
))
}
)
width
:
columns
(
2
)
.post-content
width
:
columns
(
6
)
margin-left
:
half
(
var
(
--
grid-gutter
)
)
margin-left
:
var
(
--
grid-gutter
)
@include
in-page-without-sidebar
article
...
...
@@ -182,13 +182,13 @@
margin-bottom
:
$spacing-2
background
:
none
.list
margin-top
:
half
(
$spacing-
5
)
margin-top
:
$spacing-
3
border-top
:
1px
solid
$color-border
article
border-bottom
:
1px
solid
$color-border
position
:
relative
padding-bottom
:
half
(
$spacing-
5
)
margin-top
:
half
(
$spacing-
5
)
padding-bottom
:
$spacing-
3
margin-top
:
$spacing-
3
article
>
*
+
*
margin-top
:
$spacing-2
...
...
@@ -215,11 +215,11 @@
.post
flex-direction
:
row
.media
width
:
calc
(
#{
columns
(
3
)
}
+
#{
half
(
var
(
--
grid-gutter
))
}
)
width
:
columns
(
3
)
margin-bottom
:
0
.post-content
width
:
columns
(
5
)
margin-left
:
half
(
var
(
--
grid-gutter
)
)
margin-left
:
var
(
--
grid-gutter
)
.list
article
@include
grid
(
8
,
desktop
,
0
,
0
)
...
...
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