Skip to content

Instantly share code, notes, and snippets.

@imrizzy
Created July 27, 2016 02:52
Show Gist options
  • Save imrizzy/1326dc894ea5001577be548e67fcc4ac to your computer and use it in GitHub Desktop.
Save imrizzy/1326dc894ea5001577be548e67fcc4ac to your computer and use it in GitHub Desktop.
Practice 3
/* latin-ext */
@font-face {
font-family: 'Unica One';
font-style: normal;
font-weight: 400;
src: local('Unica One'), local('UnicaOne-Regular'), url(https://fonts.gstatic.com/s/unicaone/v4/Zxq4PdUSc3GE41eti2ZndIX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Unica One';
font-style: normal;
font-weight: 400;
src: local('Unica One'), local('UnicaOne-Regular'), url(https://fonts.gstatic.com/s/unicaone/v4/z3VYemEbD7zsQFQLG6g3SpBw1xU1rKptJj_0jans920.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
body {
-webkit-font-smoothing: antialiased;
font-family: 'Unica One', arial;
background-image: url("http://www.norahrestaurant.com/assets/img/background.jpg");
position: absolute;
background-size: 1250px;
/*overflow: hidden;*/
}
.menu ul {
list-style-type: none;
margin: 20px 0px 0 20px;
padding: 0;
overflow: hidden;
font-size: 20px;
}
.menu li {
float: left;
display: inline;
}
.menu li a {
color: #c19871;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.menu li a:hover:not(.active) {
color: white;
/*background-color: #ddd;*/
}
/*li a.active {
color: black;
background-color: #4caf50;
}*/
.logo {
width: 200px;
float: right;
position: absolute;
top: -20px;
right: 50px;
}
.clear {
clear: both;
}
.hero {
width: 70%;
margin: 150px 150px 100px;
padding: 0;
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
}
.contact {
color: white;
font-size: 14px;
text-align: center;
line-height: 1.6;
}
.contact a {
color: #c19871;
}
.contact a:hover {
color: white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment