Code Monkey home page Code Monkey logo

zuri-responsive-design-starter's People

Contributors

emmypuch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

zuri-responsive-design-starter's Issues

Completed the Responsive web Design

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

  • {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    }

.container {
width: 100%;
}

div.nav-bar {
display: flex;
justify-content: space-between;
padding: 1rem 6rem;
width: 100%; /* changed from 100vw to 100% */
background: #2862F5;
}

div.logo {
font-size: 1.5rem;
color: #FFFFFF;
}

ul.nav-links {
display: flex;
justify-content: flex-end;
margin: 0;
padding: 0;
width: 100%;
}

ul li {
margin: 0 2vw;
list-style: none;
font-size: 1.1rem;
}

ul li a {
text-decoration: none;
color: #FFFFFF;
padding: 0.5vw;
}

ul li a:hover {
color: #304353;
background: #fff;
padding: 0.5rem;
}

div.hero-section {
width: 100%;
background: #2862F5;
padding: 10rem;
}

div.hero-content-heading {
text-align: center;
}

div.hero-content-heading h3 {
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 300;
color: #FFFFFF;
}

div.hero-content-heading p {
text-align: center;
padding-top: 0.7rem;
color: #FFFFFF;
font-size: 1rem;
letter-spacing: 2px;
font-weight: 300;
}

div.hero-content-btn {
display: flex;
justify-content: center;
align-items: center;
padding-top: 2rem;
}

div.hero-content-btn a {
background: #E44C65;
text-decoration: none;
color: #FFFFFF;
font-size: 0.9rem;
padding: 10px 30px;
border-radius: 3px;
letter-spacing: 2px;
}

div.hero-background {
width: 100%;
background: #f0f0f0;
padding: 10rem;
display: flex;
justify-content: center;
align-items: center;
}

div.background {
background: #fff;
box-shadow: 2px 2px 15px 0 rgb(135 135 135 / 40%);
padding: 20px 40px; /* changed from 15px to 20px */
width: 550px;
position: relative;
}

div.background h4 {
padding: 2rem;
color: #2862F5;
font-size: 1rem;
letter-spacing: 2px;
text-transform: uppercase;
}

div.background p {
color: black;
padding-left: 2rem;
font-size: 0.8rem;
letter-spacing: 2px;
}

div.hero-background-pos {
position: absolute;
right: 0px;
left: 66%;
background: #fff;
width: 140px;
height: 140px;
border-radius: 50%;
box-shadow: 2px 2px 15px 0 rgb(135 135 135 / 40%);
}

div.snapshot-team {
background: #f0f0f0;
text-align: center;
padding-top: 2rem;
}

div.snapshot-team h2 {
color: black;
font-size: 1.5rem;
letter-spacing: 2px;
text-transform: uppercase;
}

div.snapshot-team p {
color: #black;
font-size: 1rem;
letter-spacing: 2px;
padding-top: 0.8rem;
}

div.snapshot-box {
display: flex;
justify-content: center;
align-items: center;
background: #f0f0f0;
padding: 4rem 6rem;
}

div.snapshot-box-content {
display: flex;
justify-content: space-between;
}

div.box1 {
background: #2862F5;
padding: 10px 20px;
width: 220px;
height: 230px;
margin: 10px;
border-radius: 2px;
box-shadow: 2px 2px 15px 0 rgb(135 135 135 / 40%);
}

div.box3 {
background: #2862F5;
padding: 10px 20px;
width: 220px;
height: 230px;
margin: 10px;
border-radius: 2px;
box-shadow: 2px 2px 15px 0 rgb(135 135 135 / 40%);
}

div.box3 h5 {
text-align: center;
padding-top: 2rem;
color: #FFFFFF;
font-size: 1rem;
}

div.circle {
display: flex;
margin: 0 auto;
width: 90px;
height: 90px;
border-radius: 50%;
background: #f0f0f0;
margin-top: 2rem;
}

div.box1 h5 {
text-align: center;
padding-top: 2rem;
color: #FFFFFF;
font-size: 1rem;
}

div.gallery-section {
background: #fff;
padding: 4rem;
}

div.gallery-content {
text-align: center;
}

div.gallery-content h4 {
color: black;
font-size: 1.5rem;
letter-spacing: 2px;
text-transform: uppercase;
}

div.gallery-content p {
color: black;
font-size: 1rem;
letter-spacing: 2px;
padding-top: 0.8rem;
}

div.gallery-img {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding-top: 3rem;
}

div.img {
margin: 10px;
}

div.img img {
width: 250px;
height: 180px;
}

div.footer {
width: 100%; /* added width */
background: #2862F5;
padding: 3rem;
}

div.footer-content {
text-align: center;
}

div.footer-content h4 {
color: #FFFFFF;
font-size: 1.5rem;
letter-spacing: 2px;
text-transform: uppercase;
}

div.footer-content p {
color: #FFFFFF;
font-size: 1rem;
letter-spacing: 2px;
padding-top: 0.8rem;
}

div.footer-input {
display: flex;
justify-content: center;
align-items: center;
padding-top: 3rem;
}

input[type="text"] {
margin-right: 10px;
padding: 10px 20px;
width: 25%;
outline: none;
border: 1px solid #bcc3c7;
background: transparent;
color: #FFFFFF;
font-size: 1rem;
border-radius: 2px;
}

input[type="email"] {
margin-right: 10px;
padding: 10px 20px;
width: 25%;
outline: none;
border: 1px solid #bcc3c7;
background: transparent;
color: #f0f0f0;
font-size: 1rem;
border-radius: 2px;
}

::placeholder {
color: #FFFFFF;
}

div.footer-textarea {
display: flex;
justify-content: center;
align-items: center;
padding-top: 2rem;
}

textarea {
width: 51%;
height: 150px;
padding: 0.5rem;
outline: none;
border: 1px solid #bcc3c7;
background: transparent;
color: #FFFFFF;
}

div.footer-btn {
display: flex;
justify-content: center;
align-items: center;
padding-top: 2rem;
}

div.footer-btn a {
background: #E44C65;
text-decoration: none;
color: #FFFFFF;
font-size: 0.9rem;
padding: 10px 50px;
border-radius: 3px;
letter-spacing: 2px;
}

div.footer h6 {
text-align: center;
color: #FFFFFF;
font-size: 1rem;
padding-top: 6rem;
}

@media screen and (max-width:768px) {
div.snapshot-box-content {
flex-direction: column;
}
ul.nav-links {
flex-direction: column;
}
div.hero-section {
padding: 5rem;
}
div.hero-background-pos {
right: 0px;
left: 60%;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.