Skip to content

Commit

Permalink
Some more standard CSS styles
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Jan 18, 2025
1 parent e3ffb60 commit 7128c65
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _embed/templates/theme-global/stylesheet/05-geometry.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@
background-color:var(--gray30);
}

.circle-96 {
height:96px;
width:96px;
object-fit:cover;
border-radius:48px;
background-color:var(--gray30);
}

.circle-128 {
height:128px;
width:128px;
Expand Down
44 changes: 44 additions & 0 deletions _embed/templates/theme-global/stylesheet/05-positioning.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,42 @@
right: var(--rhythm);
}

.pos-absolute-top-0 {
-webkit-position:absolute;
position:absolute;
top:0px;
left:0px;
right:0px;
}

.pos-absolute-top-left {
-webkit-position:absolute;
position:absolute;
top:var(--rhythm);
left:var(--rhythm);
}

.pos-absolute-top-left-0 {
-webkit-position:absolute;
position:absolute;
top:0px;
left:0px;
}

.pos-absolute-top-right {
-webkit-position:absolute;
position:absolute;
top:var(--rhythm);
right:var(--rhythm);
}

.pos-absolute-top-right-0 {
-webkit-position:absolute;
position:absolute;
top:0px;
right:0px;
}

.pos-absolute-bottom {
-webkit-position:absolute;
position:absolute;
Expand All @@ -52,20 +74,42 @@
right: var(--rhythm);
}

.pos-absolute-bottom-0 {
-webkit-position:absolute;
position:absolute;
bottom:0px;
left:0px;
right:0px;
}

.pos-absolute-bottom-left {
-webkit-position:absolute;
position:absolute;
bottom:var(--rhythm);
left:var(--rhythm);
}

.pos-absolute-bottom-left-0 {
-webkit-position:absolute;
position:absolute;
bottom:0px;
left:0px;
}

.pos-absolute-bottom-right {
-webkit-position:absolute;
position:absolute;
bottom:var(--rhythm);
right:var(--rhythm);
}

.pos-absolute-bottom-right-0 {
-webkit-position:absolute;
position:absolute;
bottom:0px;
right:0px;
}

.pos-absolute-four-corners {
-webkit-position:absolute;
position:absolute;
Expand Down

0 comments on commit 7128c65

Please sign in to comment.