Skip to content

Commit 5a23aad

Browse files
committed
fix: minor changes to styles
1 parent c7b9740 commit 5a23aad

5 files changed

Lines changed: 51 additions & 16 deletions

File tree

docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ const config = {
8080
label: "Workflows",
8181
},
8282
{ to: "/blog", label: "News", position: "left" },
83+
{
84+
href: "https://mpusp.mpg.de",
85+
label: "MPUSP",
86+
position: "right",
87+
},
8388
{
8489
href: "https://github.com/MPUSP",
8590
label: "MPUSP GitHub",
@@ -138,7 +143,7 @@ const config = {
138143
darkTheme: prismThemes.dracula,
139144
},
140145
colorMode: {
141-
defaultMode: "dark",
146+
defaultMode: "light",
142147
disableSwitch: false,
143148
respectPrefersColorScheme: false,
144149
},

src/components/About/index.jsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,15 @@ export default function Stats() {
4747
<div className={styles.about_description}>
4848
<h1>Our Github Projects</h1>
4949
<p>
50-
More than 30 open-source{" "}
51-
<Link to="https://github.com/MPUSP/repositories">MPUSP repositories</Link>{" "}
52-
are available on Github, representing a diverse range of projects.
50+
We work on a diverse range of projects and aim to make as many as possible{" "}
51+
<Link to="https://github.com/orgs/MPUSP/repositories">publicly available on Github</Link>{" "}.
5352
</p>
5453
</div>
5554
<div className={styles.stats_container}>
5655
<div className={styles.stats1_card}>
5756
{stats.map(({ number, content }, index) => (
5857
<Link key={index}
59-
to="https://github.com/MPUSP/repositories">
58+
to="https://github.com/orgs/MPUSP/repositories">
6059
<div className={styles.card}>
6160
<h1 className="gradient_text">{number}</h1>
6261
<h3>{content}</h3>
@@ -67,7 +66,7 @@ export default function Stats() {
6766
<div className={styles.stats2_card}>
6867
{stats2.map(({ number, content }, index) => (
6968
<Link key={index}
70-
to="https://github.com/MPUSP/repositories">
69+
to="https://github.com/orgs/MPUSP/repositories">
7170
<div className={styles.card}>
7271
<h1 className="gradient_text">{number}</h1>
7372
<h3>{content}</h3>

src/components/About/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666

6767
.card:hover {
68-
transform: scale(0.9);
68+
transform: scale(0.95);
6969
}
7070

7171
.card h1,

src/components/Header/index.jsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,24 @@ export default function Header() {
1717
</div>
1818
<div className={styles.header_content}>
1919
<h1>
20-
The MPUSP Bioinformatics Platform:
21-
Workflows for Reproducible Science.
20+
The MPUSP Bioinformatics Platform
2221
</h1>
22+
<h2>
23+
Workflows for Computational Biology at the
24+
Max-Planck-Unit for the Science of Pathogens.
25+
</h2>
2326
<div className={styles.header_content_input}>
2427
<Link to="/docs/projects/intro"
25-
className="button button--secondary button--lg">
26-
Projects
28+
className="button">
29+
<span>Projects</span>
2730
</Link>
2831
<Link to="/docs/workflows/workflow_overview"
29-
className="button button--secondary button--lg">
30-
Explore workflows
32+
className="button">
33+
<span>Explore workflows</span>
3134
</Link>
3235
<Link to="/blog"
33-
className="button button--secondary button--lg">
34-
News
36+
className="button">
37+
<span>News</span>
3538
</Link>
3639
</div>
3740
</div>

src/components/Header/styles.module.css

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,42 @@
4242

4343
.header_content_input a {
4444
margin-right: 5px;
45-
text-decoration: none;
4645
width: 250px;
46+
background: var(--theme-card);
47+
color: var(--ifm-font-color-base);
48+
border-radius: 10px;
49+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
50+
display: flex;
51+
flex-direction: column;
52+
align-items: center;
53+
justify-content: center;
54+
text-align: center;
55+
padding: 10px 15px 10px 15px;
56+
margin: 5px;
57+
transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
58+
font-weight: 700;
59+
font-size: 20px;
4760
}
4861

4962
.header_content_input a:focus {
5063
background: none;
5164
}
5265

66+
.header_content_input a:hover {
67+
transform: scale(0.95);
68+
}
69+
70+
.header_content_input a span {
71+
background-image: linear-gradient(
72+
90deg,
73+
var(--ifm-color-primary-dark),
74+
var(--ifm-color-primary-lightest)
75+
);
76+
-webkit-background-clip: text;
77+
background-clip: text;
78+
color: transparent;
79+
}
80+
5381
@media screen and (max-width: 1050px) {
5482
.header {
5583
flex-direction: column;

0 commit comments

Comments
 (0)