Adjust position and sizing of Carbon ads component

This commit is contained in:
fechin committed 2023-02-22 11:17:00 +08:00
1 parent 8e24759681
commit a15b26d3d6
2 files changed
+6 -6

No files matched your search

@@ -1,19 +1,19 @@
#carbonads {
display: flex;
position: fixed;
bottom: 60px;
bottom: 50px;
right: 20px;
max-width: 330px;
max-width: 315px;
background-color: hsl(0, 0%, 98%);
box-shadow: 0 6px 8px rgba(102, 119, 136, 0.03), 0 1px 2px rgba(102, 119, 136, 0.3);
animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
@apply dark:bg-slate-800 rounded-lg z-30 dark:shadow-3xl;
@apply dark:bg-slate-800 rounded-lg z-20 dark:shadow-3xl;
}
#carbonads > span {
display: block;
position: relative;
padding: 10px;
padding: 6px;
background-color: #fff;
@apply dark:bg-slate-800 rounded-lg;
}
@@ -29,7 +29,7 @@
display: flex;
justify-content: center;
align-items: center;
padding: 1.75ex 2ch;
/*padding: 1.75ex 2ch;*/
color: #ffffff;
}
@@ -37,7 +37,7 @@
border-radius: 0.5ex;
margin-right: 1ch;
line-height: 1;
padding: 1ex 1ch;
/*padding: 1ex 1ch;*/
font-weight: 600;
font-size: 0.75em;
text-transform: uppercase;