Skip to content

Instantly share code, notes, and snippets.

@johs7
Created February 6, 2025 17:33
Show Gist options
  • Select an option

  • Save johs7/51f8c03a48f03aa2466fd1bc79f3f290 to your computer and use it in GitHub Desktop.

Select an option

Save johs7/51f8c03a48f03aa2466fd1bc79f3f290 to your computer and use it in GitHub Desktop.
Arix-Padilla
<section>
<div class="box1 box">
<div class="content">
<div class="image">
<a href='https://postimg.cc/MMNRXHgm' target='_blank'><img src='https://i.postimg.cc/MMNRXHgm/arix.jpg' border='0' alt='arix'/></a>
</div>
<div class="level">
<p>Arjé</p>
</div>
<div class="text">
<p class="name">Arix Padilla</p>
<p class="job_title">Arquitecto & Líder de Proyectos</p>
<p class="job_discription">Transformo ideas en espacios que inspiran. Apasionado por la arquitectura sostenible y el diseño innovador que mejora la vida de las personas.</p>
</div>
<!-- Sección del QR -->
<div class="qr-container">
<p>Escanea para chatear en WhatsApp</p>
<a href="https://wa.me/50588503438" target="_blank">
<img src="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://wa.me/50588503438" alt="QR WhatsApp">
</a>
</div>
<div class="button">
<div>
<button class="message" type="button" onclick="window.location.href='https://wa.me/50588503438'">Hablemos</button>
</div>
</div>
</div>
</div>
</section>
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300&display=swap");
* {
margin: 0;
padding: 0;
font-family: "Nunito", sans-serif;
}
:root {
--green: #58a497;
--yellow: #e09449;
--lightgreen1: #a4bdb7;
--brown: #8b4448;
--gray: gray;
--lightgreen2: rgb(164, 189, 183, 0.5);
--box: #ededed;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #a4bdb7;
}
/* Content-1:Start */
.box {
width: 450px; /* Aumentar el tamaño de la caja */
height: fit-content;
border-radius: 20px;
padding: 20px; /* Ajustado para mayor espacio */
text-align: center;
background: #ededed;
}
.box1 {
margin-top: 10px;
}
.content {
margin: 20px 5px; /* Ajustado */
}
.image img {
height: auto;
width: 160px; /* Aumentado el tamaño de la imagen */
border-radius: 50%;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 10px;
}
.level {
font-size: 0.9em; /* Aumentado tamaño */
background-color: rgb(164, 189, 183, 0.5);
width: 80px;
padding: 10px;
border-radius: 5px;
font-weight: bolder;
letter-spacing: 1px;
display: block;
margin: 0px auto 15px; /* Ajustado */
}
.name {
font-size: 1.5em; /* Aumentado el tamaño */
font-weight: bolder;
letter-spacing: 1px;
}
.job_title {
font-size: 0.85em; /* Aumentado el tamaño */
font-weight: bolder;
color: gray;
margin-top: -2px;
}
.job_discription {
font-size: 0.9em; /* Aumentado el tamaño */
color: gray;
margin: 15px 30px 25px; /* Ajustado */
}
.icons {
margin: 0px 30px;
font-size: 1.5em;
display: flex;
justify-content: space-around;
}
.icons button {
width: fit-content;
height: fit-content;
border: none;
font-size: 1em;
}
ion-icon:hover {
color: #58a497;
transition: 0.5s;
}
button {
width: 150px; /* Aumentado el tamaño */
height: 45px; /* Aumentado el tamaño */
border-radius: 10px;
font-weight: bolder;
}
.button {
display: flex;
justify-content: space-around;
flex-direction: row;
margin: 25px 30px 0px; /* Ajustado */
}
.button .message {
background: #ededed;
border: 2px solid #000;
}
.button .connect {
background-color: #000;
color: #ededed;
border: none;
}
button.connect:hover {
letter-spacing: 1px;
transition: 0.5s;
}
button.message:hover {
letter-spacing: 1px;
transition: 0.5s;
background: rgba(88, 164, 151, 0.5);
}
/* Content-1:End */
/* Content-2:Start */
.box2 {
margin-top: 50px;
margin-bottom: 10px;
}
.box2 img {
width: 80px;
}
.row {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0px 0px 10px;
}
h5 {
font-weight: bolder;
font-size: 1.2em; /* Aumentado tamaño */
}
.row p {
font-size: 0.9em; /* Aumentado tamaño */
}
.box2 .text {
text-align: left;
}
.box2 .text .name {
font-size: 1.3em; /* Aumentado tamaño */
}
.box2 .text .job_title {
font-size: 0.7em;
margin-bottom: 10px;
}
.box2 .text .job_discription {
margin: 0px;
}
.box2 .text .about {
font-size: 1em; /* Aumentado tamaño */
font-weight: bolder;
}
/* Content-2:End */
/* Responsiveness:Start */
@media screen and (max-width: 480px) {
.box {
width: 100vw;
border-radius: 0px;
}
.button {
display: flex;
flex-direction: column;
}
.button button {
width: 250px;
}
button.connect {
margin-top: 10px;
}
.content2 {
padding: 0px 20px;
}
.content2 img {
width: 60px;
height: 60px;
}
}
/* Responsiveness:End */
/* Estilo general del contenedor del QR */
.qr-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 20px;
padding: 15px; /* Aumentado para mayor espacio */
background-color: #f7f7f7;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Estilo del texto de la sección QR */
.qr-container p {
font-size: 18px; /* Aumentado el tamaño */
color: #333;
margin-bottom: 15px;
font-weight: bold;
}
/* Estilo del QR */
.qr-container img {
border-radius: 10px;
border: 2px solid #ddd;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Efecto al pasar el mouse sobre el QR */
.qr-container img:hover {
transform: scale(1.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@johs7
Copy link
Author

johs7 commented Feb 6, 2025

a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment