Skip to content

Commit daddb96

Browse files
committed
Small CSS adjustments
color adjustments Docs-Logo longer visible (responsive)
1 parent 36b0ad6 commit daddb96

3 files changed

Lines changed: 15 additions & 12 deletions

File tree

_sass/components/_copy_button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pre.highlight > button,
66
.highlight button.copy{
77
position: absolute;
8-
background: var(--main-codebox-border-color, #E6E6E6);
8+
background: var(--doc-codebox-button-background-color, #E6E6E6);
99
border-radius: 50px;
1010
width: 30px;
1111
height: 30px;
@@ -19,7 +19,7 @@ pre.highlight > button,
1919
align-items: center;
2020
transition: background .3s;
2121
&:hover{
22-
background-color: #D9D9D9;
22+
background-color: var(--doc-codebox-button-background-color-hover, #cccccc);
2323
}
2424
span.copy{
2525
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cmask id='a' fill='%23fff'%3E%3Crect width='9' height='9' x='9' y='6' rx='.5'/%3E%3C/mask%3E%3Crect width='9' height='9' x='9' y='6' stroke='%230D0D0D' stroke-linecap='square' stroke-width='3' mask='url(%23a)' rx='.5'/%3E%3Cpath stroke='%230D0D0D' stroke-linecap='square' stroke-width='1.5' d='M6.75 9.5v7.273a.5.5 0 0 0 .5.5h6.962'/%3E%3C/svg%3E");

_sass/components/_faq.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body.documentation main .wrap.frequentlyaskedquestions{
1515
&::after{
1616
content: " ";
1717
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath stroke='%230D0D0D' stroke-linecap='square' stroke-width='1.5' d='m18 9.5-6 6-6-6'/%3E%3C/svg%3E");
18-
background-color: var(--doc-codebox-button-background-color-hover, rgba(217, 217, 217, 0.60));
18+
background-color: var(--doc-codebox-button-background-color, #E6E6E6);
1919
background-size: contain;
2020
background-repeat: no-repeat;
2121
width: 24px;

_sass/layout/_responsive.scss

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,7 @@
215215
body.landing header .headerline .headercontent .landingmenu nav .search_icon{
216216
display: none;
217217
}
218-
body.documentation{
219-
#duckdb_logo{
220-
width: 38px;
221-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' fill='none' viewBox='0 0 38 38'%3E%3Cpath fill='%230D0D0D' d='M19 38C8.489 38 0 29.511 0 19S8.489 0 19 0s19 8.489 19 19-8.489 19-19 19Z'/%3E%3Cpath fill='%23FFF100' d='M29.159 16.182h-3.727v5.625h3.727c1.545 0 2.83-1.284 2.83-2.83 0-1.556-1.285-2.795-2.83-2.795ZM7.172 19c0 4.34 3.534 7.875 7.875 7.875 4.34 0 7.875-3.535 7.875-7.875 0-4.341-3.534-7.876-7.875-7.876S7.172 14.66 7.172 19Z'/%3E%3C/svg%3E");
222-
}
223-
img.downloadlogo{
224-
width: 44px;
225-
}
226-
}
218+
227219

228220
.opensearch > span.shortcut{
229221
display: none!important;
@@ -644,6 +636,17 @@
644636
margin-bottom: 0.8em;
645637
}
646638
}
639+
640+
body.documentation{
641+
#duckdb_logo{
642+
width: 38px;
643+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' fill='none' viewBox='0 0 38 38'%3E%3Cpath fill='%230D0D0D' d='M19 38C8.489 38 0 29.511 0 19S8.489 0 19 0s19 8.489 19 19-8.489 19-19 19Z'/%3E%3Cpath fill='%23FFF100' d='M29.159 16.182h-3.727v5.625h3.727c1.545 0 2.83-1.284 2.83-2.83 0-1.556-1.285-2.795-2.83-2.795ZM7.172 19c0 4.34 3.534 7.875 7.875 7.875 4.34 0 7.875-3.535 7.875-7.875 0-4.341-3.534-7.876-7.875-7.876S7.172 14.66 7.172 19Z'/%3E%3C/svg%3E");
644+
}
645+
img.downloadlogo{
646+
width: 44px;
647+
}
648+
}
649+
647650
}
648651

649652
/** TOUCH DEVICES **/

0 commit comments

Comments
 (0)