Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Guillaume Grossetie
asciidoc.org
Commits
3957f34c
Commit
3957f34c
authored
Mar 22, 2022
by
Guillaume Grossetie
🎧
Browse files
Refine alignments with two widths
parent
ba197f1e
Pipeline
#2518
passed with stage
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pages/assets/css/_base.css
View file @
3957f34c
...
...
@@ -152,8 +152,8 @@ body {
align-items
:
center
;
flex-wrap
:
wrap
;
justify-content
:
space-between
;
padding-
righ
t
:
3
rem
;
padding-
lef
t
:
3
rem
;
padding-
lef
t
:
2
rem
;
padding-
righ
t
:
2
rem
;
}
.header
.menu
a
{
...
...
@@ -169,19 +169,15 @@ body {
padding
:
0.75rem
;
margin-left
:
auto
;
}
.header
>
nav
{
max-width
:
1440px
;
margin
:
auto
;
padding-right
:
8vw
;
padding-left
:
8vw
;
}
}
@media
screen
and
(
min-width
:
1
44
0px
)
{
@media
screen
and
(
min-width
:
1
12
0px
)
{
.header
>
nav
{
padding-right
:
10rem
;
padding-left
:
6.25rem
;
max-width
:
1120px
;
margin-left
:
auto
;
margin-right
:
auto
;
padding-left
:
1.5rem
;
padding-right
:
1.5rem
;
}
}
...
...
@@ -209,8 +205,8 @@ header .logo > img {
background-image
:
url("../img/dot-watermark.svg")
;
background-repeat
:
repeat-y
;
background-origin
:
border-box
;
padding-left
:
3
rem
;
padding-right
:
3
rem
;
padding-left
:
2
rem
;
padding-right
:
2
rem
;
}
}
...
...
@@ -437,10 +433,10 @@ section.about .columns {
}
}
@media
screen
and
(
min-width
:
13
2
0px
)
{
@media
screen
and
(
min-width
:
13
6
0px
)
{
section
.about
{
max-width
:
13
2
0px
;
padding-left
:
1
2
4px
;
max-width
:
13
6
0px
;
padding-left
:
1
4
4px
;
}
}
...
...
@@ -1287,7 +1283,6 @@ section.docs a:hover {
display
:
grid
;
column-gap
:
5rem
;
row-gap
:
2rem
;
justify-content
:
center
;
padding-bottom
:
3.125rem
;
padding-top
:
3.375rem
;
}
...
...
@@ -1308,7 +1303,6 @@ section.docs a:hover {
position
:
relative
;
background-color
:
var
(
--brand-color-900
);
display
:
grid
;
justify-content
:
center
;
padding-top
:
2rem
;
padding-bottom
:
3rem
;
}
...
...
@@ -1316,6 +1310,7 @@ section.docs a:hover {
.footer
.eclipse
,
.footer
.asciidoc
{
grid-template-columns
:
250px
250px
250px
250px
;
justify-content
:
start
;
padding-right
:
2rem
;
padding-left
:
2rem
;
}
...
...
@@ -1422,6 +1417,7 @@ section.docs a:hover {
.footer
.asciidoc
{
grid-template-columns
:
200px
175px
175px
175px
;
column-gap
:
4rem
;
justify-content
:
center
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment