Skip to content

Commit

Permalink
Merge pull request #3735 from Franz-Kafka/main
Browse files Browse the repository at this point in the history
various improvements
  • Loading branch information
szarnyasg committed Sep 27, 2024
2 parents 9089259 + d798560 commit 3f71d35
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 19 deletions.
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.

0 comments on commit 3f71d35

Please sign in to comment.