Commit 57de568f authored by 박민석's avatar 박민석

update header

parent 0d426636
...@@ -212,15 +212,30 @@ body { ...@@ -212,15 +212,30 @@ body {
.navbar .button { .navbar .button {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
background: var(--navbar-button-background); background: var(--color-bwg-main);
border: 1px solid var(--navbar-button-border-color); border-radius: 28px;
border-radius: 0.15rem;
height: 1.75rem; height: 1.75rem;
color: var(--navbar-button-font-color); color: var(--color-white);
padding: 0 0.75em; padding: 1.25rem 1.75rem 1.25rem 1.5rem;
white-space: nowrap; white-space: nowrap;
} }
.download_icon {
display: inline-block;
width: 18px;
height: 18px;
background-image: url('../img/ico_download.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin-right: 7px;
}
.navbar .button:hover {
transition: 300ms ease;
background-color: rgba(0, 114, 206, 0.8);
}
@media screen and (max-width: 768.5px) { @media screen and (max-width: 768.5px) {
.navbar-brand .navbar-item.search { .navbar-brand .navbar-item.search {
padding-left: 0; padding-left: 0;
...@@ -350,8 +365,7 @@ body { ...@@ -350,8 +365,7 @@ body {
.navbar-dropdown { .navbar-dropdown {
background: var(--navbar-menu-background); background: var(--navbar-menu-background);
border: 1px solid var(--navbar-menu-border-color); box-shadow: 0 6px 9px 0 rgba(0, 0, 0, .16);
border-top: none;
border-radius: 0 0 0.25rem 0.25rem; border-radius: 0 0 0.25rem 0.25rem;
display: none; display: none;
top: 100%; top: 100%;
...@@ -363,6 +377,7 @@ body { ...@@ -363,6 +377,7 @@ body {
.navbar-dropdown .navbar-item { .navbar-dropdown .navbar-item {
padding: 0.5rem 3rem 0.5rem 1rem; padding: 0.5rem 3rem 0.5rem 1rem;
white-space: nowrap; white-space: nowrap;
margin: 0;
} }
.navbar-dropdown .navbar-item small { .navbar-dropdown .navbar-item small {
...@@ -380,6 +395,8 @@ body { ...@@ -380,6 +395,8 @@ body {
} }
.navbar-dropdown a.navbar-item:hover { .navbar-dropdown a.navbar-item:hover {
background: var(--navbar-menu_hover-background); background: var(--color-bwg-main);
color: var(--color-white);
font-weight: 600;
} }
} }
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
--footer-font-color: var(--color-white); --footer-font-color: var(--color-white);
--footer-link-font-color: var(--color-jet-80); --footer-link-font-color: var(--color-jet-80);
/* dimensions and positioning */ /* dimensions and positioning */
--navbar-height: calc(63 / var(--rem-base) * 1rem); --navbar-height: calc(63 / var(--rem-base) * 1.25rem);
--toolbar-height: calc(45 / var(--rem-base) * 1rem); --toolbar-height: calc(45 / var(--rem-base) * 1rem);
--drawer-height: var(--toolbar-height); --drawer-height: var(--toolbar-height);
--body-top: var(--navbar-height); --body-top: var(--navbar-height);
......
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" stroke="#ffffff">
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
<g id="SVGRepo_iconCarrier"> <title/> <g id="Complete"> <g id="download"> <g> <path d="M3,12.3v7a2,2,0,0,0,2,2H19a2,2,0,0,0,2-2v-7" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/> <g> <polyline data-name="Right" fill="none" id="Right-2" points="7.9 12.3 12 16.3 16.1 12.3" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/> <line fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="12" x2="12" y1="2.7" y2="14.2"/> </g> </g> </g> </g> </g>
</svg>
\ No newline at end of file
<header class="header"> <header class="header">
<nav class="navbar"> <nav class="navbar">
<div class="navbar-brand"> <div class="navbar-brand">
<a class="navbar-item" href="{{{or site.url siteRootPath}}}"> <a class="navbar-item" href="https://swlab.bwg.co.kr/">
<i class="navbar-logo"></i> <i class="navbar-logo"></i>
{{!-- {{site.title}} --}}
<div class="navbar-title-contents"> <div class="navbar-title-contents">
<span class="navbar-title">SWLab</span> <span class="navbar-title">SWLab</span>
<span class="navbar-title sub">Bankware Global</span> <span class="navbar-title sub">Bankware Global</span>
...@@ -24,7 +23,7 @@ ...@@ -24,7 +23,7 @@
</div> </div>
<div id="topbar-nav" class="navbar-menu"> <div id="topbar-nav" class="navbar-menu">
<div class="navbar-end"> <div class="navbar-end">
<a class="navbar-item" href="https://swlab.bwg.co.kr/">Home</a> {{!-- <a class="navbar-item" href="https://swlab.bwg.co.kr/">Home</a> --}}
<div class="navbar-item has-dropdown is-hoverable"> <div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Products</a> <a class="navbar-link" href="#">Products</a>
<div class="navbar-dropdown"> <div class="navbar-dropdown">
...@@ -36,7 +35,10 @@ ...@@ -36,7 +35,10 @@
</div> </div>
<div class="navbar-item"> <div class="navbar-item">
<span class="control"> <span class="control">
<a class="button is-primary" href="#">Download</a> <a class="button download" href="#">
<i class="download_icon"></i>
Download
</a>
</span> </span>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment