diff --git a/_includes/author_link.html b/_includes/author_link.html index b1830d31f..bfc067555 100644 --- a/_includes/author_link.html +++ b/_includes/author_link.html @@ -1,6 +1,6 @@ {% for author in site.authors %} {% if author.login == include.login %} - - {{author.login}} + - par {{author.login}} {% endif %} {% endfor %} diff --git a/_layouts/author.html b/_layouts/author.html index 2ad2e4de2..3b09f57df 100644 --- a/_layouts/author.html +++ b/_layouts/author.html @@ -3,30 +3,38 @@ ---
-
- -

{{ page.name }}

-
-
    - {% include icons.html data=page %} -
-
-
+
+
+ +
+

{{ page.name }}

+
+
    + {% include icons.html data=page %} +
+
+
-
- {{ content }} -
-

Derniers articles :

-
- {% for post in site.posts %} - {% if post.author == page.login %} -
- - {{ post.title }} - +
+
+ {{ content }}
- {% endif %} - {% endfor %} -
+ +
+
+

Derniers articles :

+
    + {% for post in site.posts %} + {% if post.author == page.login %} +
  • + + {{ post.title }} + +
  • + {% endif %} + {% endfor %} +
+
+
diff --git a/_sass/includes/_author.scss b/_sass/includes/_author.scss index 5a4e4e64b..03be75001 100644 --- a/_sass/includes/_author.scss +++ b/_sass/includes/_author.scss @@ -6,16 +6,15 @@ line-height: 1.5; text-align: center; } + li { display: inline; - margin-right: 0.4em; + margin-right: 0.4rem; } + @media (max-width: 1100px) { ul { display: inline-block; - float: left; - padding-top: $padding-small; - text-align: left; width: 100%; } } diff --git a/_sass/objects/_avatar.scss b/_sass/objects/_avatar.scss new file mode 100644 index 000000000..e3c21c5ab --- /dev/null +++ b/_sass/objects/_avatar.scss @@ -0,0 +1,16 @@ +.avatar { + border-radius: 50%; + width: 100px; + height: 100px; + position: relative; + overflow: hidden; + margin: 0 auto; + + &-img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: auto; + } +}