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
fcbc76ad
Commit
fcbc76ad
authored
Jun 19, 2019
by
Jacek Lebioda
Browse files
Left-column layout
parent
3f729188
Changes
5
Hide whitespace changes
Inline
Side-by-side
_layouts/default.html
View file @
fcbc76ad
...
...
@@ -12,10 +12,10 @@
<body>
{%- include header.html -%}
<main
id=
"
pag
e-content"
aria-label=
"Content"
>
<main
id=
"
sit
e-content"
aria-label=
"Content"
>
{% if page.content_title %}
<h1
id=
"
pag
e-title"
>
<h1
id=
"
sit
e-title"
>
{{ page.content_title }}
</h1>
{% endif %}
...
...
_layouts/left_col.html
0 → 100644
View file @
fcbc76ad
---
layout: default
---
<article>
<div
id=
"left-column"
>
<h2>
{{ page.section }}
</h2>
<ul>
{% for link in page.pages %}
<li><a
href=
"{{ site.baseurl }}{{ link.href }}"
>
{{ link.title }}
</a></li>
{% endfor %}
</ul>
</div>
<div>
<header>
<h1>
{{ page.title | escape }}
</h1>
</header>
{{ content }}
</div>
</article>
\ No newline at end of file
_sass/elixir/_layout.scss
View file @
fcbc76ad
...
...
@@ -47,20 +47,63 @@
}
#site-content
{
div
{
padding-left
:
$PADDING_PAGE_LEFT
;
width
:
$WIDTH_CONTENT
;
padding-right
:
10px
;
margin
:
0px
;
}
h1
.title
{
font-size
:
37px
;
color
:
#005472
;
line-height
:
1
.1
;
font-weight
:
300
;
margin
:
0
0
12px
0
;
}
}
article
{
padding-left
:
$PADDING_PAGE_LEFT
;
padding-bottom
:
50px
;
width
:
$WIDTH_CONTENT
;
padding-right
:
10px
;
margin
:
0px
;
display
:
flex
;
flex-direction
:
row
;
#left-column
{
padding-top
:
20px
;
padding-right
:
20px
;
h2
{
color
:
#005472
;
font-size
:
25px
;
line-height
:
1
.2
;
font-weight
:
300
;
margin
:
0
;
border-bottom
:
1px
solid
#ccc
;
}
ul
{
width
:
200px
;
padding-inline-start
:
20px
;
list-style
:
none
;
margin
:
0px
;
li
{
padding
:
0
;
margin
:
0
;
a
{
color
:
#222
;
line-height
:
1
.2
;
text-decoration
:
none
;
display
:
block
;
border-bottom
:
1px
solid
#efefef
;
padding
:
10px
5px
10px
15px
;
}
a
:hover
{
color
:
#060606
;
text-decoration
:
underline
;
}
}
}
}
}
}
#site-footer-primary
{
...
...
assets/main.scss
View file @
fcbc76ad
...
...
@@ -2,4 +2,4 @@
#
This
line
is
required
so
that
Jekyll
generates
this
file
---
@
import
"elixir"
;
@
import
"elixir"
;
\ No newline at end of file
elixir-theme.gemspec
View file @
fcbc76ad
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"elixir-theme"
spec
.
version
=
"0.1.
0
"
spec
.
version
=
"0.1.
1
"
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