Margin note added to my css and an example added to the About Me post.

This commit is contained in:
2022-04-06 08:11:28 -04:00
parent f337844dd8
commit 961c0a2966
6 changed files with 23 additions and 10 deletions

View File

@ -1,9 +1,11 @@
.marginnote,
.sidenote {
font-size: 80%;
position: relative;
}
/* Wide viewport */
@media (min-width: 960px) {
@media (min-width: 1080px) {
.marginnote,
.sidenote {
float: right;
clear: right;
@ -17,14 +19,15 @@
}
/* Narrow viewport */
@media (max-width: 960px) {
@media (max-width: 1080px) {
.marginnote,
.sidenote {
float: right;
text-align: left;
width: 100%;
margin: 1rem 0;
padding-left: 15%;
padding-left: 7.5%;
}
}