Instantly share code, notes, and snippets.
Last active
August 26, 2021 00:39
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
Save guilhermedinardi/422efdc68572cea6529d478c0cd205d1 to your computer and use it in GitHub Desktop.
Menu.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700&display=swap'); | |
body { | |
font-family: 'Nanum Gothic', sans-serif; | |
} | |
.menu { | |
height: 80px; | |
width: 100vw; | |
position: fixed; | |
background-color: #fff; | |
z-index: 2; | |
box-shadow: 0 4px 4px 0 rgb(0 0 0 / 7%); | |
} | |
.main-menu { | |
display: flex; | |
justify-content: space-around; | |
align-items: center; | |
padding-top: 12px; | |
} | |
.logo { | |
width: 25em; | |
} | |
.logo-image { | |
width: 9em; | |
} | |
.menu-inner { | |
display: flex; | |
font-size: 18px; | |
} | |
.menu-link { | |
padding-right: 10px; | |
text-decoration: none; | |
} | |
.menu-link:visited { | |
color: #000000; | |
} | |
.menu-link:active { | |
color: #000000; | |
} | |
.menu-link:hover { | |
color: #b73466; | |
} | |
.content { | |
padding: 100px; | |
} | |
.wine-elements { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
transition: 400ms transform ease-in-out; | |
} | |
.wine-list { | |
background-color: #fff; | |
box-shadow: 0 10px 15px 0 rgba(0,0,0,.1); | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; | |
margin: 0 8px 20px; | |
padding: 10px; | |
} | |
.figures { | |
display: flex; | |
justify-content: center; | |
} | |
.figures img { | |
cursor: pointer; | |
width: 10em; | |
} | |
.figures:hover { | |
transform: scale(1.1); | |
transition: 400ms transform cubic-bezier(0.42, 0, 0.65, 1.7); | |
} | |
.wine-text { | |
font-size: 16px; | |
line-height: 20px; | |
text-align: center; | |
display: flex; | |
flex-flow: column; | |
padding-bottom: 10px; | |
flex: 1; | |
} | |
.wine-name { | |
width: 14em; | |
font-weight: 600; | |
font-size: 20px; | |
margin-bottom: 15px; | |
} | |
.wine-price { | |
width: 14em; | |
font-size: 18px; | |
color: #B73466; | |
font-weight: 600; | |
text-align: left; | |
padding-top: 20px; | |
padding-left: 10px; | |
padding-right: 10px; | |
padding-bottom: 10px; | |
} | |
.wine-type { | |
font-size: 15px; | |
font-weight: 600; | |
text-align: center; | |
padding-top: 10px; | |
padding-left: 10px; | |
padding-right: 10px; | |
padding-bottom: 10px; | |
} | |
.wine-type::before { | |
background-color: #b73466; | |
content: " "; | |
display: inline-block; | |
height: 2px; | |
position: relative; | |
vertical-align: middle; | |
width: 5em; | |
left: -0.8em; | |
} | |
.wine-type::after { | |
background-color: #b73466; | |
content: ""; | |
display: inline-block; | |
height: 2px; | |
position: relative; | |
vertical-align: middle; | |
width: 5em; | |
right: -0.8em; | |
} | |
.wine-vintage { | |
width: 14em; | |
font-size: 14px; | |
font-weight: 600; | |
text-align: left; | |
padding-top: 10px; | |
padding-left: 10px; | |
padding-right: 10px; | |
padding-bottom: 10px; | |
} | |
.wine-grape { | |
width: 14em; | |
font-size: 14px; | |
font-weight: 600; | |
text-align: left; | |
padding-top: 10px; | |
padding-left: 10px; | |
padding-right: 10px; | |
} | |
.wine-desc { | |
width: 18em; | |
font-size: 14px; | |
text-align: left; | |
padding-left: 10px; | |
padding-right: 10px; | |
padding-bottom: 10px; | |
} | |
.footer { | |
flex-direction: row; | |
background-color: #ededed70; | |
height: 30vh; | |
display: flex; | |
} | |
.footer-content { | |
display: flex; | |
align-items: center; | |
margin-left: 9.4vw; | |
margin-top: -10vh; | |
} | |
.footer-logo { | |
margin: 0px 65px; | |
margin-top: -6vh; | |
} | |
.footer-map-site { | |
margin-top: 3vh; | |
margin-left: 10vw; | |
} | |
.footer-map { | |
font-size: 18px; | |
font-weight: 600; | |
} | |
.footer-menu-list { | |
padding-top: 10px; | |
} | |
.footer-menu-item { | |
padding-bottom: 10px; | |
} | |
.footer-info { | |
margin-top: 3vh; | |
margin-left: 28vw; | |
} | |
.footer-asking { | |
font-size: 20px; | |
font-weight: 700; | |
margin-bottom: 10px; | |
} | |
.footer-text-opening-hours { | |
color: #666; | |
font-size: 14px; | |
letter-spacing: normal; | |
line-height: 1.2; | |
margin-bottom: 5px; | |
} | |
.footer-text-week { | |
color: #666; | |
font-size: 14px; | |
letter-spacing: normal; | |
line-height: 1.2; | |
margin-bottom: 5px; | |
} | |
.social-media { | |
padding-top: 15px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment