Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Client
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Resin
Client
Commits
34609fb0
Commit
34609fb0
authored
3 years ago
by
Antonin COQUET
Committed by
Hugo SUBTIL
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: ghost css display
parent
1f822c98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!178
release V1.10.0
,
!135
Dev
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/post/components/post-details/post-details.component.scss
+98
-5
98 additions, 5 deletions
.../post/components/post-details/post-details.component.scss
with
98 additions
and
5 deletions
src/app/post/components/post-details/post-details.component.scss
+
98
−
5
View file @
34609fb0
...
...
@@ -56,19 +56,112 @@ $margin-post: 20px;
.description
{
div
{
width
:
100%
;
line-height
:
180%
;
}
::ng-deep
figure
{
margin
:
0
;
img
{
object-fit
:
cover
;
max-width
:
100%
;
}
}
::ng-deep
a
{
@include
hyperlink
;
padding
:
0
;
}
::ng-deep
p
{
@include
cn-regular-18
;
@include
cn-regular-16
;
}
::ng-deep
li
{
@include
cn-regular-16
;
margin-bottom
:
10px
;
}
::ng-deep
h2
{
margin-top
:
50px
;
}
::ng-deep
blockquote
{
margin
:
1
.5em
0
;
padding
:
0
1
.6em
;
border-left
:
3px
solid
$blue
;
}
::ng-deep
.kg-image-card
{
margin
:
0
auto
;
max-width
:
100%
;
::ng-deep
.kg-image
{
max-width
:
100%
;
margin-top
:
10px
;
display
:
block
;
margin-left
:
auto
;
margin-right
:
auto
;
}
}
::ng-deep
.kg-bookmark-card
{
margin-top
:
30px
;
font
:
inherit
;
vertical-align
:
baseline
;
::ng-deep
.kg-bookmark-container
{
display
:
flex
;
border-radius
:
3px
;
color
:
var
(
--
darkgrey
);
text-decoration
:
none
;
box-shadow
:
0
2px
5px
-1px
rgb
(
0
0
0
/
15%
)
,
0
0
1px
rgb
(
0
0
0
/
9%
);
::ng-deep
.kg-bookmark-content
{
flex-grow
:
1
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
padding
:
20px
;
::ng-deep
.kg-bookmark-title
{
color
:
$grey-1
;
@include
cn-regular-18
;
}
::ng-deep
.kg-bookmark-description
{
display
:
-
webkit-box
;
overflow-y
:
hidden
;
margin-top
:
12px
;
max-height
:
48px
;
color
:
$grey-2
;
line-height
:
1
.5em
;
font-weight
:
400
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
::ng-deep
.kg-bookmark-metadata
{
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
margin-top
:
14px
;
color
:
var
(
--
darkgrey
);
font-weight
:
500
;
::ng-deep
.kg-bookmark-icon
{
margin-right
:
8px
;
width
:
22px
;
height
:
22px
;
display
:
block
;
}
::ng-deep
.kg-bookmark-author
{
line-height
:
1
.5em
;
@include
cn-regular-18
;
}
::ng-deep
.kg-bookmark-publisher
{
overflow
:
hidden
;
line-height
:
1
.5em
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
color
:
$grey-2
;
}
}
}
::ng-deep
.kg-bookmark-thumbnail
{
position
:
relative
;
min-width
:
33%
;
max-height
:
100%
;
img
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
border-radius
:
0
3px
3px
0
;
-o-object-fit
:
cover
;
object-fit
:
cover
;
}
}
}
}
}
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