X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb2eb95bfbfe8c777c4192ea434a0e999edf3a51..7784eab91b17a8c74cd79eb15303d09842b2d91c:/src/wolnelektury/static/2022/styles/layout/_author.scss diff --git a/src/wolnelektury/static/2022/styles/layout/_author.scss b/src/wolnelektury/static/2022/styles/layout/_author.scss index 2cbaa5cef..1156cdd4c 100644 --- a/src/wolnelektury/static/2022/styles/layout/_author.scss +++ b/src/wolnelektury/static/2022/styles/layout/_author.scss @@ -62,6 +62,39 @@ line-height: 150%; color: #474747; } + h4 { + font-size: 18px; + line-height: 150%; + font-weight: bolder; + color: #474747; + } + + ul { + padding: 0; + list-style: none; + margin-top: 0.25rem; + margin-bottom: 0; + li { + font-size: 18px; + line-height: 150%; + font-weight: normal; + } + } + + dt { + float: left; + clear: left; + margin-right: .4em; + font-weight: normal; + font-size: 18px; + line-height: 150%; + } + dd { + margin-left: 0; + font-weight: normal; + font-size: 18px; + line-height: 150%; + } } .l-author__photo { @@ -126,8 +159,14 @@ line-height: 140%; letter-spacing: -0.02em; color: #083F4D; + + p { + font-size: inherit; + line-height: inherit; + margin-top: 0; + } } - p { + > p { font-style: normal; font-weight: normal; font-size: 15px; @@ -141,3 +180,42 @@ max-width: 336px; outline: 0; } + + +.l-author__header { + display: flex; + align-items: center; + width: 100%; + border-bottom: 1px solid #D9D9D9; + padding-bottom: 22px; + + figure { + padding: 0; + font-size: 0; + width: 40px; + height: 40px; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + margin: 0 12px 0 0; + + img { + max-width: 100%; + } + } + + h1 { + font-weight: $bold; + font-size: 37px; + line-height: 130%; + letter-spacing: -0.01em; + color: #083F4D; + margin: 0; + + span { + font-weight: $regular; + } + } +}