Skip to content

Commit

Permalink
Better css for the ad
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 9, 2023
1 parent f4276dd commit afb1dfe
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion quark2.css
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ a:not(.no-external)::after, .show-external::after {
margin: 0px 5px 0px 5px
}

.feature {
.feature, .ad-container {
position: relative;
margin: 0px 15px 20px 15px;
border-radius: 10px;
Expand All @@ -480,6 +480,17 @@ a:not(.no-external)::after, .show-external::after {
transition: height 1s, margin 1s, opacity 1s;
}

.ad-container {
padding: 20px;
}

.ad-container::before {
content: "This ad helps support Quark during times of low revenue on other platforms. Thank you for your understanding.";
color: #999;
display: block;
margin-bottom: 8px;
}

.feature-image {
display: inline-block;
vertical-align: top;
Expand Down

0 comments on commit afb1dfe

Please sign in to comment.