Skip to content

Commit 48d24a0

Browse files
Homepage fix (#104)
* made changes based on comments * css linter * Moved blocks into own spaces (#105) * Moved blocks into own spaces Moved the different content blocks into their own files * Added fullwidth parameter * Fixed issue with end tag * Fixed a typo * Added containers * Moved the container class * Fixed some linting issues * mobile changes * Mobile adjustments * Update home.css * mobile adjustments * linting --------- Co-authored-by: Steve Goode <52213009+SociableSteve@users.noreply.github.com>
1 parent b658142 commit 48d24a0

File tree

16 files changed

+734
-802
lines changed

16 files changed

+734
-802
lines changed

assets/style/bioconductor.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ body {
88
main {
99
background: var(--neutral-n50);
1010
margin: 1rem 0;
11+
overflow: hidden;
1112
}
1213

1314
.container {

assets/style/buttons.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
display: block;
88
width: fit-content;
99
transition: 0.3s;
10-
padding: 0.6rem 0.8rem;
10+
padding: 0.1rem 0.8rem;
1111
border-radius: 8rem;
12+
text-decoration: none;
1213
}
1314

1415
.white-button:hover {

assets/style/footer.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ footer {
88
border-width: 0.625rem 0 0; /* 10px */
99
border-image: var(--gradient-brandreverse) 1;
1010
color: #fff;
11-
font-size: 0.7rem;
11+
font-size: 1rem;
1212
height: auto;
1313
box-sizing: border-box;
1414
}
@@ -26,12 +26,14 @@ footer * {
2626
.link-container {
2727
display: grid;
2828
grid-template-columns: 1fr 1fr;
29+
margin-bottom: 3.5rem;
2930
}
3031

3132
.link-container-inner {
3233
display: flex;
3334
justify-content: flex-start;
3435
width: 100%;
36+
margin-bottom: 1rem;
3537
}
3638

3739
:is(.link-container-inner nav) {
@@ -80,6 +82,7 @@ footer * {
8082

8183
.link-container {
8284
display: block;
85+
margin-bottom: 0;
8386
}
8487

8588
:is(.link-container-inner nav) {

assets/style/header.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ header {
7070
outline: none;
7171
background-color: transparent;
7272
padding-left: 0.25rem;
73-
padding-top: 3px;
73+
padding-top: 5px;
7474
}
7575

7676
input::placeholder {
@@ -224,6 +224,7 @@ input:focus::placeholder {
224224
width: 100%;
225225
border-radius: 0%;
226226
align-items: center;
227+
padding: 1.5rem 0;
227228
}
228229

229230
.get-started {

assets/style/hero.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
margin: 0 auto;
44
text-align: center;
55
background-color: white;
6-
padding: 4.5rem 0;
6+
padding-top: 2rem;
7+
}
8+
9+
.homepage-container {
10+
padding-top: 2rem;
11+
padding-bottom: 4rem;
712
}
813

914
.hero h1 {
@@ -29,8 +34,21 @@ a.button-hero {
2934
text-decoration: none;
3035
}
3136

37+
.mobile-break {
38+
display: none;
39+
}
40+
3241
@media screen and (width <= 768px) {
42+
.homepage-container {
43+
padding: 1rem 0.5rem;
44+
}
45+
46+
.mobile-break {
47+
display: block;
48+
}
49+
3350
.hero p {
34-
font-size: 1rem;
51+
margin: 0;
52+
margin-bottom: 1rem;
3553
}
3654
}

0 commit comments

Comments
 (0)