Skip to content

Commit cdfae84

Browse files
authored
Feat/homepage content (#81)
* html * hero * hero button * hero section * page content added * flex on the content section * added svgs * set margins for headings * finished responsive design * finished responsive design * linter errors * cleanup * changing back buttons * changing to rem * Update bioconductor-v2.css * merge fix * liner fixes
1 parent add0632 commit cdfae84

File tree

6 files changed

+244
-112
lines changed

6 files changed

+244
-112
lines changed

assets/images/icons/svgs/DNA.svg

Lines changed: 24 additions & 0 deletions
Loading

assets/images/icons/svgs/Packages.svg

Lines changed: 6 additions & 0 deletions
Loading

assets/style/buttons.css

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@
2121
box-shadow: 0 5px 4px 0 rgba(0 0 0 / 18%) inset;
2222
}
2323

24-
@media (prefers-reduced-motion: reduce) {
25-
.button-hero {
26-
transition: none;
27-
}
28-
}
29-
3024
.brand-border-button {
3125
background-image: var(--gradient-brand);
3226
border-radius: 8rem;
@@ -70,16 +64,10 @@
7064
}
7165

7266
@media (prefers-reduced-motion: reduce) {
73-
.brand-border-button:hover {
74-
color: var(--primary-p400);
75-
}
76-
77-
.brand-border-button:hover svg path {
78-
stroke: var(--primary);
79-
}
80-
81-
.brand-border-button:hover span {
82-
background: #fff;
83-
color: var(--primary-p400);
67+
.brand-border-button,
68+
.brand-border-button svg path,
69+
.brand-border-button span,
70+
.button-hero {
71+
transition: none;
8472
}
8573
}

assets/style/fonts.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ h6,
2929
.text-h5,
3030
.text-h6 {
3131
line-height: 120%;
32-
margin-bottom: 0.3rem; /* 5px */
32+
margin-block-end: 0.5rem;
33+
margin-block-start: 0.5rem;
3334
}
3435

3536
h1,
@@ -107,8 +108,6 @@ h6,
107108
p,
108109
a,
109110
.base {
110-
margin-top: 0;
111-
margin-bottom: 0;
112111
font-size: 1rem; /* 16px */
113112
line-height: 130%;
114113
letter-spacing: 0;

assets/style/home.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
.information-container {
2+
display: grid;
3+
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
4+
background-color: inherit;
5+
gap: 2rem;
6+
}
7+
8+
.news,
9+
.packages,
10+
.about-bioconductor {
11+
max-width: 24rem;
12+
min-width: 24rem;
13+
padding: 2rem;
14+
border-radius: 0.5rem;
15+
background-color: white;
16+
display: flex;
17+
flex-direction: column;
18+
justify-content: space-between;
19+
}
20+
21+
.information-container section * {
22+
text-align: start;
23+
}
24+
25+
.news p {
26+
border-left: 3px solid;
27+
border-color: var(--primary);
28+
padding-left: 12px;
29+
margin-top: 6px;
30+
margin-bottom: 6px;
31+
}
32+
33+
.info-section-button-padding {
34+
width: fit-content;
35+
}
36+
37+
.info-section-button-padding .brand-border-button {
38+
height: 2.5rem;
39+
}
40+
141
.learn-gradient {
242
background-image: var(--gradient-brand);
343
border-radius: 4px;
@@ -92,6 +132,12 @@
92132
.button-padding {
93133
width: 60%;
94134
}
135+
136+
.information-container {
137+
display: flex;
138+
flex-direction: column;
139+
align-items: center;
140+
}
95141
}
96142

97143
@media (prefers-reduced-motion: reduce) {

0 commit comments

Comments
 (0)