Skip to content

Commit

Permalink
added dictionary, insights and other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
VictoriaPe committed Oct 6, 2024
1 parent 472dcea commit df2228a
Show file tree
Hide file tree
Showing 19 changed files with 252 additions and 947 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file removed Website.zip
Binary file not shown.
708 changes: 0 additions & 708 deletions Website/package-lock.json

This file was deleted.

16 changes: 0 additions & 16 deletions Website/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions Website/server.js

This file was deleted.

118 changes: 0 additions & 118 deletions Website/src/assets/css/styles.css

This file was deleted.

Binary file removed Website/src/assets/img/back.jpg
Binary file not shown.
Binary file removed Website/src/assets/img/earth.gif
Binary file not shown.
48 changes: 0 additions & 48 deletions Website/src/views/index.html

This file was deleted.

62 changes: 43 additions & 19 deletions dictionary.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,38 @@
}
.search-container {
display: flex;
border: 2px solid #007BFF; /* Borde azul */
border: 2px solid #000000; /* Borde azul */
justify-content: center;
padding: 20px;
border-radius: 5px;
overflow: hidden;
}
.search-input {
border: none;
padding: 10px;
font-size: 16px;
width: 300px; /* Ancho del campo de búsqueda */
}
.search-button {
background-color: #007BFF; /* Color de fondo del botón */
color: white; /* Texto blanco */
border: none;
padding: 10px 15px;
cursor: pointer;
font-size: 16px;
}
.search-button:hover {
background-color: #0056b3; /* Color más oscuro al pasar el ratón */

}
nav {
display: flex;
justify-content: flex-end;
padding: 33px;
background: rgba(0, 0, 0, 0.5);
}
.search-input {
width: 90%; /* Ancho proporcional de la barra de búsqueda */
max-width: 1011px; /* Ancho máximo */
padding: 10px; /* Espaciado interno */
font-size: 16px; /* Tamaño de fuente */
border: none; /* Sin borde */
border-radius: 5px; /* Bordes redondeados */
}
.search-button {
padding: 10px 15px; /* Espaciado interno */
background-color: #ffcc00; /* Color de fondo del botón */
color: #003366; /* Color del texto del botón */
border: none; /* Sin borde */
border-radius: 0 5px 5px 0; /* Bordes redondeados */
cursor: pointer; /* Cambiar el cursor al pasar el ratón */
}
.search-button:hover {
background-color: #002ae6; /* Color más oscuro al pasar el ratón */
}

nav ul {
list-style-type: none;
Expand All @@ -66,7 +71,18 @@
background-color: #000000; /* Color de fondo al hacer hover */
color: #160077; /* Cambiar color del texto al hacer hover */
}

.gallery {
display: flex; /* Utiliza Flexbox para alinear las imágenes */
justify-content: space-around; /* Espaciado uniforme entre imágenes */
flex-wrap: wrap; /* Permite que las imágenes se ajusten en varias líneas si es necesario */
}
.gallery img {
width: 675px; /* Ancho de la imagen */
height: 294px; /* Alto de la imagen */
object-fit: cover; /* Ajusta la imagen para cubrir el espacio */
margin: 10px; /* Espaciado entre las imágenes */
border-radius: 8px; /* Bordes redondeados */
}
</style>
</head>
<body>
Expand All @@ -86,6 +102,14 @@ <h1>
<input type="text" class="search-input" placeholder="Buscar..." aria-label="Buscar">
<button class="search-button" onclick="searchFunction()">Buscar</button>
</div>
<div class="contenedor">
<div class="gallery">
<img src="img/Cap1.png" alt="Imagen 1" class="imagen">
<img src="img/cap2.jpeg" alt="Imagen 2" class="imagen">
<img src="img/cap3.jpeg" alt="Imagen 3" class="imagen">
<img src="img/cap4.jpeg" alt="Imagen 4" class="imagen">
</div>
</div>

<script>
function searchFunction() {
Expand Down
Binary file added img/Cap1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cap2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cap3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cap4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<h1 class="texto-con-gif">THE EARTH<br>IS CHANGING</h1>

<button class="nnn">Explore</button>
<button id="leer">Read this</button>
<button id="leer" class="nnn">Read this</button>
</div>

</section>
Expand Down
29 changes: 24 additions & 5 deletions information.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ body {
}
p{
color: white;
font-size: small;
}
nav {
display: flex;
Expand Down Expand Up @@ -37,12 +38,30 @@ nav a {

}
.contenedor {
text-align: center; /* Centra el texto y las imágenes dentro del contenedor */
align-items: left;/* Centra el texto y las imágenes dentro del contenedor */
}
.contenedor2{
align-items: right;
}

.imagen {
margin: 10px; /* Espacio entre las imágenes */
width: 300px; /* Ajusta el tamaño de las imágenes */
height: auto; /* Mantiene la proporción de la imagen */
margin: 10px; /* Espacio entre las imágenes */
align-items: center;
margin: 1px; /* Espacio entre las imágenes */
margin: 1px; /* Espacio entre las imágenes */
}
.imagen-contenedor{
display: flex;
justify-content: center;
justify-content: space-evenly;
align-items: flex-end;
}
p{
align-items: center;
justify-content: center;
}
.title{
color: white;
align-items: center;
display: flex;
justify-content: center;
}
29 changes: 20 additions & 9 deletions information.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="information.css">
</head>
<body>

<nav>
<ul class="words">
<li><a href="index.html">Home</a></li>
Expand All @@ -16,15 +17,25 @@
</ul>
</nav>
<hr class="linea">
<div class="contenedor">
<a href="https://www.nasa.gov/" target="_blank">
<img src="img/imagen1.png" alt="" class="imagen">
</a>
<a href="https://www.nasa.gov/" target="_blank">
<img src="img/image2.png" alt="" class="imagen">
<br>
<br>
<h1 class="title">INFORMATION</h1>
<br>
<div class="imagen-contenedor">

<div class="contenedor">
<a href="dictionary.html" target="_blank">
<img src="img/imagen1.png" alt="" class="imagen" width="342" height="444">
<p>Dictionary</p>
</a>

</a>
<p> decccc acccc</p>
</div>
</div>
<div class="contenedor2">
<a href="insight.html" target="_blank">
<img src="img/image2.png" alt="" class="imagen" width="342" height="444">
<p>Insight</p>
</a>
</div>
</div>
</body>
</html>
Loading

0 comments on commit df2228a

Please sign in to comment.