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:
parent
179c034e46
commit
efe510d69d
6
assets/sass/elements/_figcaption.scss
Normal file
6
assets/sass/elements/_figcaption.scss
Normal file
@ -0,0 +1,6 @@
|
||||
figcaption {
|
||||
text-align: right;
|
||||
font-size: 0.75rem;
|
||||
font-style: italic;
|
||||
opacity: 0.6;
|
||||
}
|
||||
3
assets/sass/elements/_img.scss
Normal file
3
assets/sass/elements/_img.scss
Normal file
@ -0,0 +1,3 @@
|
||||
img {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user