/* general */ @import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,500'); html * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: 'Ubuntu', sans-serif; min-width: 600px; -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } a { color: #000; text-decoration: none; } /* index */ .wrap { height: 300px; margin: 0 auto; max-width: 963px; .header { background: url(../img/header.jpg) no-repeat top center; height: 159px; position: relative; text-align: right; width: 100%; p { color: #fff; font-size: 50px; font-weight: 300; left: 200px; position: absolute; top: 50px; span { color: #f3b045; font-weight: 500; } } } .b1 { align-items: center; display: flex; justify-content: space-between; height: 40px; width: 100%; p { color: #fff; font-size: 20px; margin: 0 20px; } .dd-trigger { position: relative; user-select: none; &::after { content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAEBAMAAABB42PDAAAAGFBMVEUAAADzsEXzsEXzsEXzsEXzsEXzsEXzsEVfLG6wAAAAB3RSTlMA6ZPyjHgDSCZjXgAAABxJREFUCNdjCBYUNGVIKi9XY2BwL2FgYGBSYAAAJCcC/ipI8ZoAAAAASUVORK5CYII='); position: relative; bottom: 2px; left: 2px; } } .dd-item { border: solid 1px #fff; color: #fff; font-size: 12px; padding: 5px 20px 5px 10px; display: block; margin: 0 !important; &:not(:last-child) { border-bottom: none; } } a:hover, .cur { border-color: #f3b045; color: #f3b045; } .dd-container { position: absolute; background: #3c2929; box-sizing: border-box; top: 23px; left: -1px; &:not(.active) { visibility: hidden; pointer-events: none; } } } .b2 { align-items: center; display: flex; justify-content: space-between; background: #713636; a:link { background: #10211f; color: #fff; font-size: 13px; padding: 3px; text-align: center; min-width: 185px; } a:visited {background: #3F4D4B;} } .b3.index { align-items: center; display: flex; justify-content: space-around; background: #713636; height: 200px; width: 100%; .b3-left { max-width: 300px; p:first-child { background: #fff; border: solid 2px #eaeaea; color: red; margin: 20px 0 0 0; padding: 5px; text-align: center; max-width: 200px; } p:last-child { color: #fff; font-size: 13px; margin: 20px 0 0 20px; } } .b3-right { p { color: #fff; span { font-size: 40px; font-weight: 500; b {color: #f3b045;} } } } } .b3.contact { align-items: center; display: flex; justify-content: space-around; background: #713636; .b3-left { width: 50%; p { color: #fff; font-size: 13px; padding: 5px 0 5px 100px; } } .b3-right { background: #7d5f60; color: #fff; font-size: 13px; font-weight: 300; margin: 20px 0; width: 50%; p { padding: 5px 20px; text-indent: 1.5em; &:first-child {padding-top: 15px;} &:last-child {padding-bottom: 15px;} } } } .b3.cars { align-items: center; display: flex; flex-direction: column; justify-content: flex-start; background: #713636; a:hover {background: rgba(255, 255, 255, .2);} .car { align-items: center; display: flex; justify-content: space-around; border-bottom: solid 1px #3c2929; padding: 10px 0; width: 963px; img { border-right: solid 1px #eaeaea; height: 150px; padding-right: 10px; width: 200px; } .car-price { color: #eaeaea; font-size: 22px; font-weight: 500; span { font-size: 10px; font-style: italic; } } .car-desc { color: #eaeaea; font-size: 12px; padding: 10px; text-align: left; max-width: 700px; p {margin: 10px 0;} p:first-child { color: #fff; font-size: 14px; font-weight: 500; } p:nth-child(2), p:nth-child(3) { border-left: solid 1px #eaeaea; padding-left: 10px; } } } } .b3.car { align-items: center; display: flex; flex-direction: column; justify-content: space-between; background: #713636; color: #fff; font-size: 13px; .b3-top { font-size: 17px; font-weight: 500; margin-top: 20px; text-align: center; width: 100%; } .b3-middle { align-items: flex-start; display: flex; flex-direction: row; justify-content: space-around; .b3-left { padding: 10px; width: 50%; // + w3.css .w3-content {border: solid 2px #fff; border-bottom: solid 7px #fff;} .mySlides {display: none;} .w3-left, .w3-right, .w3-badge {cursor: pointer;} .w3-badge { height: 13px; width: 13px; padding: 0; } } .b3-right { padding: 10px; width: 50%; p { margin: 10px; span { color: #f3b045; font-weight: 500; } } } } .b3-bottom { width: 100%; p { margin: 10px; span { color: #f3b045; font-weight: 500; } } } } .b4 { display: flex; justify-content: flex-end; background: #713636; width: 100%; .b4-right { background: #7d5f60; font-size: 14px; font-weight: 300; padding: 10px; width: 50%; h1 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 10px; } p { padding: 10px 0; max-width: 440px; span { color: #fff; b {color: #f3b045;} } } } } } /* responsive */ @media screen and (max-width: 1200px) {}