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
c5d17c04
Commit
c5d17c04
authored
2 years ago
by
sebousan
Browse files
Options
Downloads
Patches
Plain Diff
contact wip
parent
4a843aa3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/_theme/blocks/contact.sass
+42
-44
42 additions, 44 deletions
assets/sass/_theme/blocks/contact.sass
assets/sass/_theme/design-system/typography.sass
+4
-1
4 additions, 1 deletion
assets/sass/_theme/design-system/typography.sass
with
46 additions
and
45 deletions
assets/sass/_theme/blocks/contact.sass
+
42
−
44
View file @
c5d17c04
// .block-contact
// @include in-page-without-aside
// .block-content
// --bs-gutter-y: 3rem
// @extend .row
// .top
// @extend .col-12
// address, ul
// @extend .col-md-6
// @include in-page-with-aside
// address + ul
// margin-top: px2rem(40)
// ul
// padding-left: 0
// li
// border-bottom: $table-border-width solid $table-border-color
// display: flex
// flex-wrap: wrap
// padding-bottom: calc(#{$line-height-base/2}rem + 1px)
// padding-top: calc(#{$line-height-base/2}rem + 1px)
// &:first-child
// padding-top: 0
// @include media-breakpoint-down(md)
// justify-content: end
// flex-wrap: wrap
// span
// min-width: 50%
// &:nth-child(n+2)
// text-align: right
// @include media-breakpoint-up(md)
// justify-content: space-between
// span
// min-width: 33.33%
// span + span
// text-align: center
// &:last-child
// text-align: right
// time + time
// &::before
// @extend .icon
// content: map-get($icons, "arrow-right")
// display: inline-block
// font-size: 12px
// padding: 0 5px 0 3px
.block-contact
@include
in-page-without-aside
@include
media-breakpoint-up
(
md
)
.block-content
display
:
flex
address
,
ul
width
:
col
(
6
)
ul
list-style
:
none
margin-bottom
:
0
padding-left
:
0
li
// border-bottom: 1px solid $main-border-color
display
:
flex
flex-wrap
:
wrap
padding-bottom
:
calc
(
#{
$line-height-base
/
2
}
rem
+
1px
)
padding-top
:
calc
(
#{
$line-height-base
/
2
}
rem
+
1px
)
@include
media-breakpoint-down
(
md
)
justify-content
:
end
flex-wrap
:
wrap
span
min-width
:
50%
&
:nth-child
(
n
+
2
)
text-align
:
right
@include
media-breakpoint-up
(
md
)
justify-content
:
space-between
span
min-width
:
calc
(
100%
/
3
)
span
+
span
text-align
:
center
&
:last-child
text-align
:
right
time
+
time
&
::before
// @extend .icon
// content: map-get($icons, "arrow-right")
display
:
inline-block
font-size
:
12px
padding
:
0
5px
0
3px
This diff is collapsed.
Click to expand it.
assets/sass/_theme/design-system/typography.sass
+
4
−
1
View file @
c5d17c04
...
...
@@ -52,6 +52,9 @@ blockquote, .blockquote
font-size
:
px2rem
(
18
)
font-style
:
normal
address
font-style
:
normal
a
,
.link
@include
link
...
...
@@ -104,4 +107,4 @@ a,
.btn-
#{
$name
}
@include
icon
(
$name
)
&
::before
margin-right
:
px2rem
(
5
)
\ No newline at end of file
margin-right
:
px2rem
(
5
)
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