Skip to content

Commit b6bcab8

Browse files
author
Daniel Precioso
committed
Change button style
1 parent 9f8c5c3 commit b6bcab8

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

_posts/2024-02-20-el-pais.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ tags:
1515

1616
Today we would like to share with you the article on our weather routing project that was published in Diario EL PAÍS. This article has been written by David Gómez-Ullate and David Martín de Diego, both researchers of this project.
1717

18-
[Read the full article (in Spanish)](https://elpais.com/ciencia/cafe-y-teoremas/2024-02-20/construyendo-el-google-maps-del-oceano.html)
19-
2018
<img src="{{ page.featured_image }}" alt="El País" width="80%"/>
2119

20+
<a href="https://elpais.com/ciencia/cafe-y-teoremas/2024-02-20/construyendo-el-google-maps-del-oceano.html" class="button">Read the full article (in Spanish)</a>
21+
2222
We want to thank [Ágata A. Timón García-Longoria](https://elpais.com/autor/agata-a-timon-garcia-longoria/) for her help editing the article and to [Fundación BBVA](https://www.fbbva.es/) and [Agencia Estatal de Investigación](https://www.aei.gob.es/) for funding the project.

_posts/2024-05-10-demo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ tags:
1313

1414
After some months of hard work from our development team, we are proud to release an online demostration of our weather routing algorithms. This demo, publicly available through our landing page, showcases some sample routes and the savings achievable by mathematical optimization.
1515

16-
<img src="{{ page.featured_image }}" alt="El País" width="80%"/>
16+
<img src="{{ page.featured_image }}" alt="El País" width="100%"/>
1717

18-
<a href="https://demo.weathernavigation.com/" class="button" style="background-color: #00376D; color: #FFFFFF; width: 100%;">You can try the demo here</a>
18+
<a href="https://demo.weathernavigation.com/" class="button">You can try the demo here</a>
1919

2020
We want to thank [Fundación BBVA](https://www.fbbva.es/) and [Agencia Estatal de Investigación](https://www.aei.gob.es/) for making this project possible through their funding and support.

assets/css/custom.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ transform: scale(1.05); /* Slight zoom effect on hover */
4141
position: absolute;
4242
bottom: 0; /* Position the title at the bottom of the image */
4343
width: 100%; /* Use the full width of the parent */
44-
background-color: rgba(0, 0, 255, 0.6); /* Blue background with 60% opacity for readability */
44+
background-color: #00376D99; /* Blue background with 60% opacity for readability */
4545
color: white; /* Text color set to white for visibility against the blue */
4646
padding: 10px 0; /* Padding at top and bottom */
4747
margin: 0; /* Remove any default margins */
@@ -99,7 +99,7 @@ flex: 60%; /* Adjust the width as needed (e.g., 60% for content) */
9999

100100
/* Button */
101101
a.button {
102-
background-color: #006EC1;
102+
background-color: #00376D;
103103
border: none;
104104
color: white;
105105
padding: 8px 16px;
@@ -112,9 +112,10 @@ a.button {
112112
border-radius: 12px; /* Rounded corners */
113113
transition-duration: 0.4s; /* Transition effect when hovering over the button */
114114
text-decoration: none; /* Removes underline */
115+
width: 100%; /* Ensures the button takes up the full width of the container */
115116
}
116117

117118
a.button:hover {
118-
background-color: #009EE5; /* Slightly lighter color for hover effect */
119+
background-color: #74B0D4; /* Slightly lighter color for hover effect */
119120
text-decoration: none; /* Ensures underline is removed during hover as well */
120121
}

0 commit comments

Comments
 (0)