Skip to content

Commit a8cfe72

Browse files
authored
Merge pull request #11 from NetLogo/small-header-changes
Small header changes
2 parents d1a4f16 + da28254 commit a8cfe72

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/components/index/styles/introduction.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,26 @@
1818
align-items: center;
1919
justify-content: space-between;
2020
gap: 62px;
21+
2122
}
2223

2324
/* Logo Section */
2425
.intro-logo-section {
2526
display: flex;
2627
flex: 1;
2728
flex-direction: row;
29+
max-height: 100%;
2830
}
2931

3032
.intro-turtles {
3133
width: 175px;
32-
margin-bottom: 0; /* Remove bottom margin */
34+
margin-bottom: 0;
35+
/* Remove bottom margin */
3336
}
3437

3538
.intro-logo-text {
36-
margin-top: -10px; /* Use negative margin to pull it closer to the turtles */
39+
margin-top: -10px;
40+
/* Use negative margin to pull it closer to the turtles */
3741
width: 350px;
3842
}
3943

@@ -65,4 +69,4 @@
6569
line-height: 150%;
6670
letter-spacing: 0%;
6771
text-align: left;
68-
}
72+
}

src/components/layout/styles/header.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");
22
@import url("https://fonts.googleapis.com/css2?family=Dosis:[email protected]&display=swap");
3+
34
.root {
45
--Light-3: #ebebf0;
56
--Light-2: #f2f2f5;
@@ -9,8 +10,10 @@
910
.netlogo-header {
1011
width: 100%;
1112
max-width: 100%;
12-
height: 4.5rem;
13+
height: 3.5rem;
1314
background-color: black;
15+
display: flex;
16+
align-items: center;
1417
flex-shrink: 0;
1518
border-bottom: 1px solid var(--Light-3, #ebebf0);
1619
background: var(--Light-2, #f2f2f5);
@@ -24,14 +27,12 @@
2427

2528
#page-logo {
2629
width: 175px;
27-
margin-top: -10px;
2830
}
2931

3032
.header-action-bar {
3133
box-sizing: border-box;
3234
height: 3rem;
3335
cursor: default;
34-
margin-top: 1rem;
3536
display: flex;
3637
flex-direction: row;
3738
align-items: center;
@@ -44,7 +45,7 @@
4445
.header-action {
4546
color: var(--Dark-2, #555770);
4647
font-family: Inter;
47-
font-size: 1.25rem;
48+
font-size: 1rem;
4849
font-style: normal;
4950
font-weight: 600;
5051
line-height: 130%;
@@ -107,7 +108,7 @@
107108
border-bottom: 1px solid var(--Light-3, #ebebf0);
108109
background: var(--Light-2, #f2f2f5);
109110
position: absolute;
110-
top: 5.505rem;
111+
top: 3.5rem;
111112
z-index: 1;
112113
justify-content: center;
113114
padding-bottom: 1.88rem;
@@ -177,7 +178,8 @@
177178
margin: auto;
178179
margin-bottom: 0.81rem;
179180
}
181+
180182
.not-visible {
181183
visibility: hidden;
182184
cursor: default !important;
183-
}
185+
}

0 commit comments

Comments
 (0)