Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
elixir
jekyll-elixir-theme
Commits
101c17fe
Commit
101c17fe
authored
Aug 09, 2019
by
Jacek Lebioda
Browse files
Added accordion scss code to the theme
parent
1dc03dcf
Changes
2
Hide whitespace changes
Inline
Side-by-side
_sass/elixir/_accordion.scss
0 → 100644
View file @
101c17fe
.accordion
{
border-radius
:
8px
;
overflow
:
hidden
;
box-shadow
:
0
4px
4px
-2px
rgba
(
0
,
0
,
0
,
0
.5
);
.accordion-item
{
width
:
100%
;
color
:
#f3efef
;
overflow
:
hidden
;
label
{
display
:
flex
;
padding
:
1em
;
background
:
#2c3e50
;
justify-content
:
space-between
;
font-weight
:
bold
;
cursor
:
pointer
;
border-bottom
:
solid
1px
white
;
&
:hover
{
background
:
#1a252f
;
}
&
:after
{
content
:
"\276F"
;
width
:
1em
;
height
:
1em
;
text-align
:
center
;
transition
:
all
.35s
;
}
}
input
{
position
:
absolute
;
opacity
:
0
;
z-index
:
-1
;
&
:checked
+
label
{
background
:
#1a252f
;
}
&
:checked
+
label
:after
{
-webkit-transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
}
&
:checked
~
.accordion-content
{
max-height
:
100vh
;
padding
:
1em
;
}
}
.accordion-content
{
max-height
:
0
;
padding
:
0
1em
;
color
:
#2c3e50
;
background
:
white
;
transition
:
all
.35s
;
font-size
:
larger
;
}
}
}
elixir-theme.gemspec
View file @
101c17fe
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"jekyll-elixir-theme"
spec
.
version
=
"0.7.
1
"
spec
.
version
=
"0.7.
2
"
spec
.
authors
=
[
"jacek.lebioda"
]
spec
.
email
=
[
"jacek.lebioda@uni.lu"
]
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment