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
agb@immerda.ch
ipick
Commits
50186cc5
Commit
50186cc5
authored
Mar 28, 2020
by
mahogony
Committed by
o@immerda.ch
Mar 28, 2020
Browse files
Resolve "Responsive behaviour"
parent
2c1bcb9b
Changes
2
Show whitespace changes
Inline
Side-by-side
ipick.js
View file @
50186cc5
...
...
@@ -38,7 +38,7 @@
bottom: 0;
right: 0;
height: 100%;
width: 1
8.75em
;
width: 1
00vw
;
max-width: 0;
transition: max-width 300ms ease-in-out;
background-color: #222;
...
...
@@ -50,28 +50,46 @@
padding: 0em 4em;
margin: auto;
line-height: normal;
width: calc(100% - 8em);
text-align: center;
}
.ipick-menu ul li {
list-style: none;
padding: 0px;
margin: auto;
line-height: normal;
padding-top: 0.625em;
}
.ipick-menu ul li a {
color: green;
font-size:
20pt
;
font-size:
1.5em
;
border: none;
padding: 0px;
margin: 0px;
line-height: normal;
text-decoration: none;
}
.ipick-menu ul li a:hover {
border: none;
text-decoration: underline;
}
.ipick-open .ipick-menu {
max-width: 100vw;
width: 100vw
}
@media screen and (min-width: 576px) {
.ipick-menu {
width: 18.75em;
}
.ipick-menu ul {
text-align: left;
}
.ipick-open .ipick-menu {
max-width: 18.75em;
}
}
`
;
// add styles
var
styleDom
=
document
.
createElement
(
"
style
"
);
...
...
test.html
View file @
50186cc5
...
...
@@ -2,6 +2,8 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title></title>
</head>
<body
style=
"background-color: #cdc"
>
...
...
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