Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
site
Commits
9f7335a8
Verified
Commit
9f7335a8
authored
Jun 06, 2020
by
Aral Balkan
Browse files
Tweak layout
parent
42d0d0e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
css/index.css
View file @
9f7335a8
...
...
@@ -340,11 +340,6 @@ aside.tip::before {
* *
********************************************************************************/
#small-web
{
/* margin-top: -1em; */
/* margin-bottom: 4rem; */
}
#small-web
h2
,
#highlights
h2
,
main
h2
{
text-align
:
center
;
margin-top
:
4rem
;
...
...
@@ -361,6 +356,7 @@ aside.tip::before {
margin-right
:
auto
;
}
#small-web-details
{
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -582,8 +578,8 @@ main li {
* *
********************************************************************************/
/* Main content padding becomes too large. */
@media
(
max-width
:
768px
)
{
/* Main content padding becomes too large. */
@media
(
max-width
:
768px
)
{
main
{
padding-left
:
1rem
;
padding-right
:
1rem
;
...
...
@@ -634,8 +630,8 @@ main li {
}
}
/* The title in the first card wraps to two lines. */
@media
(
max-width
:
615px
)
{
/* The title in the first card wraps to two lines. */
@media
(
max-width
:
615px
)
{
#small-web-details
{
flex-wrap
:
wrap
;
}
...
...
@@ -654,6 +650,10 @@ main li {
padding-right
:
0.5em
;
}
#small-web
h2
,
#highlights
h2
,
main
h2
{
width
:
90%
}
/* Make each card fill up the full width of the display so we get a */
/* single column on narrower viewports. */
#small-web-details
div
{
...
...
@@ -689,6 +689,3 @@ main li {
margin-bottom
:
1em
;
}
}
}
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