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
db8ee4ee
Commit
db8ee4ee
authored
2 years ago
by
alexisben
Browse files
Options
Downloads
Patches
Plain Diff
diplomas list
parent
660ff276
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/_theme/sections/diplomas.sass
+42
-2
42 additions, 2 deletions
assets/sass/_theme/sections/diplomas.sass
layouts/partials/diplomas/diplomas.html
+17
-9
17 additions, 9 deletions
layouts/partials/diplomas/diplomas.html
with
59 additions
and
11 deletions
assets/sass/_theme/sections/diplomas.sass
+
42
−
2
View file @
db8ee4ee
ul
.diplomas
@include
list-reset
>
li
margin-bottom
:
$spacing3
margin-bottom
:
$spacing0
@include
media-breakpoint-up
(
md
)
margin-bottom
:
$spacing3
>
a
@include
h3
@include
h2
display
:
block
text-decoration
:
none
padding-bottom
:
$spacing1
padding-top
:
$spacing1
border-bottom
:
1px
solid
$color-border
@include
icon
(
"arrow-right"
,
after
,
$small-size
)
align-self
:
center
margin-left
:
auto
&
:hover
color
:
$color-accent
@include
media-breakpoint-down
(
md
)
position
:
relative
padding-right
:
$spacing1
&
::after
position
:
absolute
bottom
:
$spacing1
right
:
0
@include
media-breakpoint-up
(
md
)
display
:
flex
align-items
:
baseline
span
margin-left
:
$spacing1
.content
@include
grid
(
2
,
md
)
padding-bottom
:
$spacing1
padding-top
:
$spacing1
.programs
@include
media-breakpoint-down
(
md
)
margin-top
:
$spacing1
li
@include
h3
display
:
block
border-bottom
:
0
padding
:
0
+
li
margin-top
:
$spacing1
a
:hover
color
:
$color-accent
.program
div
@include
media-breakpoint-up
(
md
)
...
...
This diff is collapsed.
Click to expand it.
layouts/partials/diplomas/diplomas.html
+
17
−
9
View file @
db8ee4ee
...
...
@@ -13,15 +13,23 @@
</span>
{{ end }}
</a>
{{- if $show_programs }}
<ol
class=
"programs"
>
{{- range .Pages -}}
<li>
{{ partial "programs/program.html" . }}
</li>
{{- end -}}
</ol>
{{ end -}}
<div
class=
"content"
>
<div
class=
"description"
>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Esse labore aliquid nobis quasi, molestiae voluptatum ullam et consequatur voluptas. Eligendi quaerat veniam, sequi repellat illo dignissimos quasi libero itaque dolorum?
{{- partial "PrepareHTML" .Params.description_short -}}
</div>
{{- if $show_programs }}
<ol
class=
"programs"
>
{{- range .Pages -}}
<li>
<a
href=
"{{ .Permalink }}"
title=
"{{ safeHTML (i18n "
commons.more_aria
"
(
dict
"
Title
"
.
Title
))
}}"
>
{{- partial "PrepareHTML" .Title -}}
</a>
</li>
{{- end -}}
</ol>
{{ end -}}
</div>
</li>
{{ end }}
</ul>
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