# Session Two: Getting Better | Ling. Programação >[color=purple]**Autor:** Letícia Rodrigues da Silva **Turma:** IndoD **Número:** 25 [TOC] ## Moonchain - responsivo >https://edz8v.csb.app/src/pages/home/index.html ### index.html ```htmlmixed= <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="index.css"/> <link rel="stylesheet" href="../comum/comum.css"/> <title>Home|Moonchain</title> </head> <body> <div class="container"> <div class="faixa1"> <div class="cabecalho"> <div class="logo"><img src="../../assets/images/logo.webp"/> Moonchain Capital</div> <div class="menu"> <div class="menu-item">Home</div> <div class="menu-item">Services</div> <div class="menu-item">FAQ</div> <div class="menu-item">Contact</div> <div class="menu-item">Subscribe</div> </div> <div class="logo-f1"> <div class="menu-logo"><img src="../../assets/images/Facebook.png"/></div> <div class="menu-logo"><img src="../../assets/images/twitter.png"/></div> <div class="menu-logo"><img src="../../assets/images/linkedin.png"/></div> </div> </div> <div class="f1"> <div class="box-text"> <div class="titulo">Cryptocurrency Consulting Services</div> <div class="descricao">I'm a paragraph. Click here to add your own text and edit me. Let your users get to know you.</div> <div class="botao"><button type="button" class="efeito"> See Our Services</button></div> </div> <div class="box-img"><img src="../../assets/images/img.webp"/></div> </div> </div> <div class="faixa2"> <div class="titulo-f2">Our Services</div> <div class="fila-1"> <div class="box"> <div class="img-box"><img src="../../assets/images/coinn.png"/></div> <div class="titulo-box">Coin Acquisition</div> <div class="descricao-box">I'm a paragraph. Click here to add your own text and edit me. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="box"> <div class="img-box"><img src="../../assets/images/currency.webp"/></div> <div class="titulo-box">Currency Mining</div> <div class="descricao-box">I'm a paragraph. Click here to add your own text and edit me. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="box"> <div class="img-box"><img src="../../assets/images/initial.webp"/></div> <div class="titulo-box">Initial Coin Offerings</div> <div class="descricao-box">I'm a paragraph. Click here to add your own text and edit me. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> </div> <div class="fila2"> <div class="box"> <div class="img-box"><img src="../../assets/images/exchanges.webp"/></div> <div class="titulo-box">Exchanges</div> <div class="descricao-box">I'm a paragraph. Click here to add your own text and edit me. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="box"> <div class="img-box"><img src="../../assets/images/blockchain.webp"/></div> <div class="titulo-box">Blockchain Tech</div> <div class="descricao-box">I'm a paragraph. Click here to add your own text and edit me. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="box"> <div class="img-box"><img src="../../assets/images/storing.webp"/></div> <div class="titulo-box">Storing Your Coins</div> <div class="descricao-box">I'm a paragraph. Click here to add your own text and edit me. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> </div> <div class="botao-f2"><button>Contact Us Today</button></div> </div> <div class="faixa3"> <div class="box-texto3"> <div class="titulo-b3">About Moonchain</div> <div class="crypto">Strategic Crypto Consultants Since 2015</div> <div class="descricao-b3">I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="img-linha"> <div class="box1"> <div class="img1"><img src="../../assets/images/mulherr.webp"/></div> <div class="nome">Jordan Foster</div> <div class="descricao1">I'm a paragraph. Click here to add your own text and edit me. Let your users get to know you.</div> </div> <div class="box1"> <div class="img1"><img src="../../assets/images/homemm.webp"/></div> <div class="nome">Jesse Dunn</div> <div class="descricao1">I'm a paragraph. Click here to add your own text and edit me. Let your users get to know you.</div> </div> <div class="box1"> <div class="img1"><img src="../../assets/images/homem2.webp"/></div> <div class="nome">Calvin Wang</div> <div class="descricao1">I'm a paragraph. Click here to add your own text and edit me. Let your users get to know you.</div> </div> </div> </div> <div class="faixa4"> <div class="aspas"><img src="../../assets/images/aspas.png"/></div> <div class="texto">“I'm a testimonial. Click to edit me and add text that says something nice about you and your services. Let your customers review you and tell their friends how great you are.”</div> <div class="pessoa">Carl Calvert | Joji.set</div> </div> <div class="faixa5"> <div class="box-texto"> <div class="titulo-f5">FAQ</div> <div class="ds-f5">Below we’ve provided some info on how we work, blockchain technology, Bitcoin, and cryptocurrencies in general.</div> <div class="box-texto-t1"> <div class="titulo-t1"> How do I buy cryptocurrency in my country?</div> <div class="descricao-t1">I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="box-texto-t1"> <div class="titulo-t1">Do I have to pay taxes on any profits I make from Bitcoin?</div> <div class="descricao-t1">I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> <div class="box-texto-t1"> <div class="titulo-t1">Is it possible to create my own cryptocurrency?</div> <div class="descricao-t1">I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font. I’m a great place for you to tell a story and let your users know a little more about you.</div> </div> </div> <div class="faixa6"> <div class="titulo-f6">Contact</div> <div class="p-linha"> <input type="text" name="name" placeholder="Name" aria-label="Name"/> <input type="email" name="email" placeholder="Email" /> <input type="text" name="subject" placeholder="Subject"/> </div> <textarea id="textarea" class="message" placeholder="Type your message here..."></textarea> <div class="botao-f6"><button>Submit</button></div> </div> <div class="faixa7"> <div class="titulo-f7">Subscribe to Our Newsletter</div> <div class="box-f7"> <input type="text" name="name" id="input_comp-k66k4k60" class="A1_tY has-custom-focus" value="" placeholder="Name" maxlength="100" aria-label="Name"/> <input type="email" name="email" id="input_comp-k66k4k69" class="A1_tY has-custom-focus" value="" placeholder="Email Address" required="" pattern="^.+@.+\.[a-zA-Z]{2,63}$" maxlength="250" aria-label="Email Address"> </div> <div class="botao-f7"><button>Submit</button></div> <div class="faixa8"> <div class="titulo-f8">Moonchain Capital</div> <div class="ds-f8">info@mysite.com</div> <div class="ds-f8">123-456-7890</div> <div class="ds-f8">500 Terry Francois Street San Francisco, CA 94158</div> <div class="logo-f8"> <div class="logof8"><img src="../../assets/images/Facebook.png"></div> <div class="logof8"><img src="../../assets/images/twitter.png"></div> <div class="logof8"><img src="../../assets/images/linkedin.png"></div> </div> </div> </div> <div class="faixa9"> <div class="ds-f9">©2023 by Moonchain Capital.</div> <div class="ds-f9">Proudly created with Wix.com</div> </div> </div> </body> </html> ``` ### index.css ```css= .container { display: flex; flex-direction: column; } .faixa1 { display: flex; flex-direction: column; } .cabecalho { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .menu { display: flex; flex-direction: row; font-size: 14px; color: #2d2d2d; } .menu-item { padding: 0px 20px; font-size: 14px; color: #2d2d2d; font-family: font2; } .logo { font-family: font3; font-size: 22px; color: #181818; font-weight: 700; display: flex; flex-direction: row; align-items: center; flex-grow: 1; } .logo img { padding-right: 15px; } .menu-logo img { width: 20px; height: 20px; } .menu-logo { display: flex; flex-direction: row; justify-content: space-between; padding: 0px 3px 5px 3px; } .logo-f1 { display: flex; flex-direction: row; } .f1 { display: flex; flex-direction: colunm; } .box-text { display: flex; flex-direction: column; } .titulo { color: #842ae3; font-family: font3; font-size: 50px; } .descricao { font-family: font2; font-size: 18px; color: #181818; line-height: 30px; } .botao button { width: 150px; height: 45px; background-color: #842ae3; border: transparent; border-radius: 30px; color: white; font-size: 14px; font-family: font2; margin-top: 20px; cursor: pointer; } .botao button:hover { background-color: #b57fee; transition: 0.4s; cursor: pointer; } .box-img img { height: 740px; width: auto; } .faixa2 { display: flex; flex-direction: column; align-items: center; background-color: #eeeeee; } .titulo-f2 { font-size: 28px; color: #842ae3; font-family: font4; margin: 50px 0px 30px; } .fila-1 { display: flex; flex-direction: column; width: 80%; justify-content: space-around; } .box { display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .img-box img { max-width: 60px; max-height: 60px; } .img-box { margin-bottom: 30px; } .titulo-box { font-size: 20px; color: #842ae3; font-family: font2; } .descricao-box { font-size: 14px; color: #181818; font-family: font2; line-height: 25px; text-align: center; } .botao-f2 button:hover { background-color: #b57fee; transition: 0.3s; cursor: pointer; } .botao-f2 { display: flex; align-items: bottom; } .fila2 { display: flex; flex-direction: column; width: 80%; justify-content: space-around; } .botao-f2 button { width: 150px; height: 45px; background-color: #842ae3; border: transparent; border-radius: 30px; color: white; font-size: 14px; font-family: font2; margin-top: 100px; cursor: pointer; margin-bottom: 50px; } .faixa3 { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; } .box-texto3 { text-align: center; align-items: center; } .titulo-b3 { font-family: font3; font-size: 24px; color: #842ae3; margin: 50px 0px 20px 0px; } .crypto { font-family: font2; font-style: italic; font-size: 15px; color: #181818; margin-bottom: 20px; } .descricao-b3 { font-family: font2; font-size: 14px; color: #181818; width: 800px; height: 41px; text-align: center; line-height: 25px; margin-bottom: 20px; } .img-linha { display: flex; flex-direction: row; justify-content: space-around; margin: 90px 0px 0px 0px; } .box1 { display: flex; flex-direction: column; align-items: center; } .nome { font-family: font4; font-size: 20px; color: #842ae3; text-align: center; padding: 50px 0px 20px; } .descricao1 { font-family: font2; font-size: 15px; color: #181818; text-align: center; line-height: 25px; } .faixa4 { background-color: #27f5ce; background-size: 200px 200px; display: flex; flex-direction: column; align-items: center; } .aspas img { max-width: 50px; max-height: 50px; } .texto { font-family: font2; font-size: 12px; line-height: 25px; color: #181818; text-align: center; margin: 50px 0px 40px 0px; } .pessoa { font-family: font2; font-size: 14px; color: #181818; margin-bottom: 100px; } .faixa5 { display: flex; flex-direction: column; justify-content: center; background-color: #eeeeee; background-size: 200px 200px; } .titulo-f5 { font-family: font4; font-size: 24px; color: #842ae3; text-align: center; margin-bottom: 20px; } .ds-f5 { font-family: font2; font-size: 15px; color: #181818; } .box-texto-t1 { display: flex; flex-direction: column; } .titulo-t1 { font-family: font3; font-size: 20px; color: #842ae3; margin-top: 50px; } .descricao-t1 { font-family: font2; font-size: 15px; color: #181818; line-height: 25px; } .faixa6 { display: flex; flex-direction: column; align-items: center; background-color: #ffffff; margin-top: 50px; } .titulo-f6 { font-family: font3; font-size: 40px; color: #842ae3; } .p-linha { display: flex; flex-direction: row; margin-bottom: 50px; } input { border-top: 0px; border-left: 0px; border-right: 0px; border-bottom: 1px; border-color: black; border-style: solid; color: rgb(24, 24, 24); font-family: font2; width: 465px; height: 42px; background: #ffffff00; } .message { width: 100%; border-top: 0px; border-right: 0px; border-left: 0px; font-family: font2; font-size: 15px; color: #181818; } .botao-f6 button { font-family: font2; font-size: 18px; width: 940px; height: 50px; background-color: #181818; color: white; border: transparent; } .botao-f6 button:hover { background-color: gray; transition: 0.3s; cursor: pointer; } .faixa7 { display: flex; flex-direction: column; background-color: #ffffff; align-items: center; } .titulo-f7 { font-family: font3; font-size: 40px; color: #842ae3; text-align: center; } .box-f7 { display: flex; flex-direction: row; align-items: center; } .botao-f7 button { background-color: #181818; font-family: font2; font-size: 18px; color: #ffffff; border: transparent; } .botao-f7 button:hover { background-color: gray; transition: 0.3s; cursor: pointer; } .faixa8 { display: flex; flex-direction: column; align-items: center; margin-top: 130px; } .titulo-f8 { font-family: font3; font-size: 22px; margin-bottom: 30px; } .ds-f8 { font-family: woff3; font-size: 15px; color: #181818; margin-bottom: 15px; } .logo-f8 { display: flex; flex-direction: row; max-width: 80px; max-height: 20px; margin: 15px 0px 30px 0px; } .faixa9 { display: flex; flex-direction: column; align-items: center; } .ds-f9 { font-family: font2; font-size: 14px; color: #181818; margin-bottom: 10px; } ``` ### responsivo.css ```css= @media (max-width: 1024px) { .logo, .cabecalho, .box-text { flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0px; margin: 0px; width: 100%; } .logo img { max-width: 60px; max-height: 60px; margin: 40px 0px 20px 0px; } .logo { margin-bottom: 30px; } .logo-f1 { display: flex; justify-content: space-between; width: 80px; height: 20px; } .menu { display: none; } .titulo { width: 270px; height: 70px; font: 28px font4; line-height: 35px; padding: 50px 0px 80px 0px; } .descricao { max-width: 320px; max-height: 110px; } .f1 { display: flex; flex-direction: column; } .box-img img { width: 100%; height: auto; } .box { display: flex; flex-direction: column; } .img-box img { margin-top: 50px; } .descricao-box { width: 350px; height: 70px; } .descricao-b3 { width: 300px; } .img-linha { display: flex; flex-direction: column; } .img1 img { width: 100%; } .descricao1 { font: 16px font2; line-height: 30px; width: 330px; margin-bottom: 50px; } .faixa4 { align-items: center; max-width: 700px; max-height: 320px; } .aspas img { margin-top: 40px; } .texto { width: 275px; height: 70px; font: 12px font2; line-height: 25px; } .pessoa { font: 14px font2; margin-top: 20px; } .box-texto { margin-top: 50px; } .ds-f5 { width: 300px; padding-left: 31px; text-align: center; line-height: 25px; font: 15px font2; line-height: 25px; } .faixa5 { display: flex; align-items: center; width: 390px; height: auto; } .faixa6 { width: 390px; height: auto; } .box-texto-t1 { max-width: 320px; } .titulo-t1 { margin-left: 25px; } .descricao-t1 { margin: 20px 0px 0px 25px; line-height: 30px; } .titulo-f6 { font: 24px font3; margin: 30px 0px 30px 0px; } .p-linha { display: flex; flex-direction: column; } ::-webkit-input-placeholder { color: black; } input { font: 15px font2; max-width: 350px; max-height: 42px; border-bottom: 1.5px; border-style: solid; color: rgb(24, 24, 24); } textarea { max-width: 350px; max-height: 130px; } .message { font-family: font2; padding: 0px 0px 20px 15px; border-bottom: 1.5px; border-style: solid; } ::-webkit-textarea-placeholder { color: black; } .botao-f6 button { font: 18px font2; max-width: 350px; max-height: 70px; border-bottom: 1.5px; margin-top: 10px; } .titulo-f7 { font: 24px font3; max-width: 190px; margin: 100px 0px 70px 0px; } .box-f7 { display: flex; flex-direction: column; height: 90px; } input { max-width: 350px; max-height: 50px; border-bottom: 1.5px; border-style: solid; } .botao-f7 button { width: 350px; height: 40px; } .titulo-f8 { font: 20px font3; } .ds-f8 { font: 14px font2; margin-bottom: 20px; max-width: 278px; text-align: center; line-height: 30px; } .logo-f8 { display: flex; justify-content: space-between; align-items: center; } .logof8 img{ max-width: 20px; max-height: 20px; margin: 5px; } .descricao-box { margin-top: 10px; } .faixa9 { margin-top: 15px; } ``` ### comum.css ```css= @font-face { font-family: font1; src: url('../../assets/fonts/font.woff'); } @font-face { font-family: font2; src: url('../../assets/fonts/font.woff2'); } @font-face { font-family: font3; src: url('../../assets/fonts/font.woff3'); } @font-face { font-family: font4; src: url('../../assets/fonts/font.woff4'); } body { margin: 0px; } ```
{"metaMigratedAt":"2023-06-15T23:42:13.751Z","metaMigratedFrom":"Content","title":"Session Two: Getting Better | Ling. Programação","breaks":true,"contributors":"[{\"id\":\"f2f98191-1ff5-4afd-8e66-66ff77c4c5b1\",\"add\":31496,\"del\":10070}]"}
Expand menu