Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various improvements #3735

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _data/supporters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,8 @@ silver:
- name: Crunchy Data
url: https://www.crunchydata.com/
logoimg: crunchydata.svg

technical:
- name: Cloudflare
url: https://www.cloudflare.com/
logoimg: cloudflare.svg
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

<link rel="stylesheet" href="{{ site.baseurl }}/css/normalize.css?{{ site.data['hash'] }}">
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css?{{ site.data['hash'] }}">
<link rel="stylesheet" href="{{ site.baseurl }}/css/mobilestyles.css?{{ site.data['hash'] }}">
{% if page.add_css %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/{{ page.add_css }}?{{ site.data['hash'] }}">
{% endif %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/mobilestyles.css?{{ site.data['hash'] }}">

<link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/images/favicon/favicon-32x32.png">
Expand Down
26 changes: 16 additions & 10 deletions css/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ h1, h2, h3, h4, h5{

.toc_sidebar{
background: rgb(255, 255, 255);
position: absolute;
position: fixed;
top: 0px;
right: 0;
width: 22vw;
Expand All @@ -279,10 +279,7 @@ h1, h2, h3, h4, h5{
@media only screen and (max-width: 1280px) {
display: none;
}

.toc_menu{
position: fixed;
top: 100px;
height: calc(100vh - 100px);
overflow: auto;
-ms-overflow-style: none;
Expand Down Expand Up @@ -569,7 +566,7 @@ footer{
font-size: 14px;
.author{
font-weight: 600;
}
}
}
p{
font-size: 15px;
Expand All @@ -580,21 +577,30 @@ footer{
h2 {
font-size: 25px;
line-height: 28px;
margin-top: 35px;
margin-bottom: 20px;
margin-top: 35px;
margin-bottom: 20px;
}
h3 {
font-size: 20px;
line-height: 1.2;
margin-top: 35px;
margin-bottom: 20px;
}
h2 + h3{
margin-top: 0px;
}
ul li{
font-size: 15px;
line-height: 23px;
}
ul li ul {
margin-top: 0px;
}
margin-top: 0px;
}
}

code, pre{
font-size: 14px;
line-height: 1.5em;
line-height: 1.5em;
}

.newswrap .postwrap .post-list h1,
Expand Down
17 changes: 13 additions & 4 deletions css/foundation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,14 @@ body.foundation{
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
li{
height: 100px;
}
}
}
&.technical{
border-top: 15px solid $blue;
}
}
}

Expand Down Expand Up @@ -789,6 +795,9 @@ body.foundation{
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
body.foundation section.supporters .supporterboard.gold ul li{
height: 80px;
}
}

@media only screen and (max-width: 700px) {
Expand All @@ -815,6 +824,10 @@ body.foundation{
body.foundation section.purpuse .flexwrap > div:nth-child(2){
width: 100%;
}
body.foundation section.supporters .supporterboard.gold li{
width: 100%;
height: 80px;
}
}

@media only screen and (max-width: 600px) {
Expand Down Expand Up @@ -850,10 +863,6 @@ body.foundation{
height: 60px;
}
}
body.foundation section.supporters .supporterboard.gold li{
width: 100%;
height: 80px;
}
body.foundation section,
.pagehead h1{
padding: 50px 15px;
Expand Down
15 changes: 11 additions & 4 deletions foundation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,18 @@ <h3 id="silver-supporters">Silver Supporters</h3>
</ul>
</div>
{% endif %}


{% if site.data.supporters.technical %}
<h3 id="technical-sponsors">Technical Sponsors</h3>
<p>
DuckDB's website and extensions are served through <a href="https://www.cloudflare.com/">Cloudflare</a>, graciously supported by their <a href="https://developers.cloudflare.com/sponsorships/">open-source sponsorship program</a>.
</p>
<div class="supporterboard technical">
<ul>
{% for supporter in site.data.supporters.technical %}
<li><a href="{{ supporter.url }}"><img src="{{ '/images/foundation/' | append: supporter.logoimg | relative_url }}" alt="{{ supporter.name }}"></a></li>
{% endfor %}
</ul>
</div>
{% endif %}

</div>
</section>

Expand Down
6 changes: 6 additions & 0 deletions images/foundation/cloudflare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.