Add avatar class
This commit is contained in:
parent
0b40a777a0
commit
44ba341d62
|
@ -1,8 +1,12 @@
|
|||
img.with-border
|
||||
img
|
||||
&.with-border
|
||||
@apply .border .border-solid .border-grey-light
|
||||
|
||||
img.with-padding
|
||||
&.with-padding
|
||||
@apply .p-1
|
||||
|
||||
&.avatar
|
||||
@apply .border .p-1 .rounded-full
|
||||
|
||||
svg
|
||||
fill: currentColor
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<img
|
||||
src="{{ site.images_url }}{{ site.avatar.url }}"
|
||||
alt="Picture of Oliver"
|
||||
class="rounded-full w-16"
|
||||
class="avatar w-16"
|
||||
>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -16,7 +16,11 @@ permalink: /
|
|||
# About Me
|
||||
|
||||
<div class="mb-4 w-1/3 sm:w-1/4 lg:w-1/6">
|
||||
<img src="{{ site.images_url }}{{ site.avatar.url }}" alt="Picture of Oliver" class="rounded-full">
|
||||
<img
|
||||
src="{{ site.images_url }}{{ site.avatar.url }}"
|
||||
alt="Picture of Oliver"
|
||||
class="avatar"
|
||||
>
|
||||
</div>
|
||||
|
||||
My name is Oliver Davies (aka [opdavies][1]) - a Full Stack Web Developer and System Administrator based in Wales, UK.
|
||||
|
|
Loading…
Reference in a new issue