Skip to content

Commit b524637

Browse files
committed
More CSS cleanup, adding ceiling snake
1 parent 8cf8766 commit b524637

File tree

3 files changed

+36
-10
lines changed

3 files changed

+36
-10
lines changed

assets/images/header-snake.svg

Lines changed: 11 additions & 0 deletions
Loading

index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
</head>
99
<body>
1010
<header>
11-
<h1>Python Australia</h1>
12-
<p class="intro">Python Australia is a community-run organisation dedicated to bringing together Python enthusiasts from across the country. We aim to connect Python-appreciators with local meetups, events, and initiatives to help grow and connect the Python community in Australia.</p>
11+
<img src="assets/images/header-snake.svg" alt="Python Snake" class="">
12+
<div>
13+
<h1>Python Australia</h1>
14+
<p class="intro">Python Australia is a community-run organisation dedicated to bringing together Python enthusiasts from across the country. We aim to connect Python-appreciators with local meetups, events, and initiatives to help grow and connect the Python community in Australia.</p>
15+
</div>
1316
</header>
1417

1518
<section class="discord-promo">

style/style.css

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,26 @@ body {
9999
}
100100

101101
header {
102+
display: flex;
103+
justify-content: center;
104+
align-items: center;
102105
background: var(--python-blue);
103106
color: #fff;
104-
padding: 2rem 1rem 1rem 1rem;
105107
text-align: center;
106-
}
107108

108-
header h1 {
109-
margin: 0 0 0.5rem 0;
110-
font-size: 2.5rem;
109+
img {
110+
justify-self: start;
111+
height: 10rem;
112+
}
113+
114+
div {
115+
width: 100%;
116+
}
117+
118+
h1 {
119+
margin: 0 0 0.5rem 0;
120+
font-size: 2.5rem;
121+
}
111122
}
112123

113124
.intro {
@@ -148,9 +159,10 @@ main {
148159
transition: box-shadow 0.2s;
149160
min-height: 240px;
150161
height: 100%;
151-
}
152-
.meetup-cell:hover {
153-
box-shadow: 0 4px 20px color-mix(in oklab, var(--python-blue), transparent 50%);
162+
163+
&:hover {
164+
box-shadow: 0 4px 20px color-mix(in oklab, var(--python-blue), transparent 50%);
165+
}
154166
}
155167

156168
.meetup-logo {

0 commit comments

Comments
 (0)