You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
2.3 KiB
CSS
140 lines
2.3 KiB
CSS
5 years ago
|
@import url('https://fonts.googleapis.com/css?family=Cormorant+Infant:400,600|Cormorant+SC|Cormorant+Upright:300');
|
||
|
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
|
||
|
|
||
|
.container {
|
||
|
width: 100%;
|
||
|
height: 100px;
|
||
|
position: relative;
|
||
|
box-sizing: content-box;
|
||
|
background: white;
|
||
|
}
|
||
|
|
||
|
.container::after {
|
||
|
display: block;
|
||
|
content: ' ';
|
||
|
position: absolute;
|
||
|
height: 15px;
|
||
|
top: 100%;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #9C27B0;
|
||
|
box-shadow: inset 0 5px 2.5px -2.5px rgba(0,0,0,0.2);
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.container + div {
|
||
|
margin-top: 15px;
|
||
|
}
|
||
|
|
||
|
.logo {
|
||
|
height: 100px;
|
||
|
position: relative;
|
||
|
overflow-y: hidden;
|
||
|
user-select: none;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.logo img {
|
||
|
position: absolute;
|
||
|
top: -70px;
|
||
|
height: 180%;
|
||
|
padding: 20px;
|
||
|
opacity: .47;
|
||
|
}
|
||
|
|
||
|
h1.title {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
text-align: center;
|
||
|
position: absolute;
|
||
|
top: -20px;
|
||
|
font-size: 46px;
|
||
|
}
|
||
|
|
||
|
h1.title a {
|
||
|
font-family: 'Cormorant Infant',serif;
|
||
|
font-weight: 600;
|
||
|
text-transform: uppercase;
|
||
|
text-decoration: none !important;
|
||
|
text-align: center;
|
||
|
color: inherit;
|
||
|
height: 1.02em;
|
||
|
display: inline-block;
|
||
|
width: auto;
|
||
|
}
|
||
|
|
||
|
h1.title span {
|
||
|
font-family: 'Cormorant Upright',serif;
|
||
|
font-weight: 300;
|
||
|
text-transform: lowercase;
|
||
|
font-style: italic;
|
||
|
margin-left: -0.2em;
|
||
|
margin-right: .2em;
|
||
|
position: relative;
|
||
|
top: -0.2em;
|
||
|
left: .05em;
|
||
|
font-size: 73.91304348%;
|
||
|
}
|
||
|
|
||
|
h1.title a:hover {
|
||
|
border-bottom: solid 1px black;
|
||
|
}
|
||
|
|
||
|
.primaryNav {
|
||
|
position: absolute;
|
||
|
top: 60px;
|
||
|
width: 100%;
|
||
|
text-align: center;
|
||
|
|
||
|
color: black;
|
||
|
opacity: .87;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.primaryNav li {
|
||
|
font-family: 'Cormorant SC',serif;
|
||
|
text-transform: uppercase;
|
||
|
font-weight: 400;
|
||
|
font-size: 14px;
|
||
|
display: inline-block;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.primaryNav li a {
|
||
|
text-decoration: none;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
.primaryNav li:not(:first-child){
|
||
|
padding-left: 40px;
|
||
|
}
|
||
|
|
||
|
.accountNav {
|
||
|
position: absolute;
|
||
|
top: -5px;
|
||
|
right: 20px;
|
||
|
}
|
||
|
|
||
|
.accountNav li {
|
||
|
font-family: 'Cormorant Infant',serif;
|
||
|
font-weight: 400;
|
||
|
display: inline-block;
|
||
|
padding: 0;
|
||
|
color: black;
|
||
|
opacity: .87;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.accountNav li a {
|
||
|
text-decoration: none;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
.accountNav li:not(:first-child){
|
||
|
padding-left: 40px;
|
||
|
}
|
||
|
|
||
|
.container ul li a:hover {
|
||
|
border-bottom: solid 1px black;
|
||
|
}
|