Skip to content

Commit 5e7046b

Browse files
committed
Fix for firefox logo resizing
1 parent c17cb23 commit 5e7046b

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
</div>
3939
</nav>
4040
<section class="section section--hello" id="hello">
41-
<div class="section__inner">
42-
<img src="LOGO-DIGITALCIRCLE.png" alt="The Digital Circle" width="50%">
41+
<div class="section__inner">
42+
<img src="LOGO-DIGITALCIRCLE.png" alt="The Digital Circle">
4343

4444
<div class="block">
4545
<a class="pre" href="#intro"><span>#0</span></a>
@@ -108,9 +108,9 @@ <h2>Working with</h2>
108108
<div class="section__inner">
109109
<div class="block">
110110
<a class="pre" href="#portfolio"><span>#4</span>Services</a>
111-
<h2>Wordpress Hosting </h2>
111+
<h2>Wordpress Hosting</h2>
112112
<p>We provide green hosting for wordpress instances and web development with open source tech. </p>
113-
<h2>NextCloud </h2>
113+
<h2>NextCloud</h2>
114114
<p >We’re running open source Nextcloud on a green computing, all align with permaculture ethics. </p>
115115
<h2>Consulting</h2>
116116
<p >Would you like to get some consultancy about your next online project or website?</p>

style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ a {
269269
background-color: #b5eec8;
270270
color: #111;
271271
}
272+
273+
.section.section--hello img {
274+
display: block;
275+
width: clamp(128px, 25vw, 480px);
276+
max-width: 100%;
277+
height: auto;
278+
flex: 0 0 auto;
279+
}
272280
.section.section--intro {
273281
background-color: white;
274282
color: #222;

0 commit comments

Comments
 (0)