Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
site
Commits
e3b8005e
Verified
Commit
e3b8005e
authored
Jun 08, 2020
by
Aral Balkan
Browse files
Improve platform tabs display on narrower viewports
parent
f1121091
Changes
1
Hide whitespace changes
Inline
Side-by-side
css/index.css
View file @
e3b8005e
...
...
@@ -31,7 +31,6 @@
body
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
p
,
ol
,
ul
{
margin
:
0
;
padding
:
0
;
font-weight
:
normal
;
}
ol
,
ul
{
list-style
:
none
;
}
img
{
max-width
:
100%
;
height
:
auto
;
}
span
{
white-space
:
pre
;
}
/********************************************************************************
...
...
@@ -219,6 +218,10 @@ pre, code[class*="language-"], pre[class*="language-"], pre code span {
margin-left
:
0.25em
;
}
#platform-tabs
li
:first-of-type
{
margin-left
:
0
;
}
#platform-tabs
li
button
.active
{
background-color
:
lightblue
;
}
...
...
@@ -742,3 +745,20 @@ footer {
margin-bottom
:
1em
;
}
}
/* The tab bar splits into two lines */
@media
(
max-width
:
472px
)
{
#platform-tabs
li
button
{
font-size
:
1.25em
;
padding-left
:
1rem
;
padding-right
:
1rem
;
}
}
/* The tab bar split into two lines again */
@media
(
max-width
:
337px
)
{
#platform-tabs
li
button
{
font-size
:
1em
;
font-weight
:
500
;
}
}
\ No newline at end of file
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