1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Style images and figcaptions

This commit is contained in:
Daniel Barber 2019-10-22 21:04:57 -04:00
parent 179c034e46
commit efe510d69d
4 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,6 @@
figcaption {
text-align: right;
font-size: 0.75rem;
font-style: italic;
opacity: 0.6;
}

View File

@ -0,0 +1,3 @@
img {
border-radius: 0.25rem;
}

View File

@ -25,6 +25,8 @@
@import "elements/html";
@import "elements/pre";
@import "elements/main";
@import "elements/figcaption";
@import "elements/img";
// 5. Objects class-based selectors which define undecorated design patterns,
// for example media object known from OOCSS

View File

@ -376,6 +376,15 @@ pre {
main {
padding: 0 6.5%; }
figcaption {
text-align: right;
font-size: 0.75rem;
font-style: italic;
opacity: 0.6; }
img {
border-radius: 0.25rem; }
.container {
margin-left: auto;
margin-right: auto;