Skip to content

Commit ca89a46

Browse files
glass buttons.
1 parent 07ee8e6 commit ca89a46

2 files changed

Lines changed: 22 additions & 20 deletions

File tree

css/style.css

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -427,13 +427,15 @@ button, .button {
427427
display: inline-block;
428428
padding: 6pt 20pt;
429429
line-height: 1.7;
430-
border: 1px solid #6C63FF;
431-
color: #6C63FF;
430+
border: 1px solid #969696;
431+
color: #969696;
432432
font-weight: 400;
433433
transition: 0.7s;
434434
white-space: nowrap;
435435
cursor: pointer;
436436
background-color: transparent;
437+
box-shadow: 0px 1px 4px -2px #969696;
438+
text-shadow: 0px -1px #969696;
437439
border-radius: 30px;
438440
margin-bottom: 1.3em;
439441
transition: 0.7s;
@@ -443,27 +445,24 @@ button, .button {
443445
outline: 0; }
444446
@media (min-width: 992px) {
445447
button:hover, .button:hover {
446-
border-color: #463aff;
447-
color: #463aff; } }
448+
border-color: #969696;
449+
color: #969696; } }
448450

449451
.button__primary {
450-
background-color: #6C63FF;
451-
border-color: #6C63FF;
452+
background-image: linear-gradient(#969696,#707070);
452453
color: #fff; }
453454
@media (min-width: 992px) {
454455
.button__primary:hover {
455-
background-color: #463aff;
456-
border-color: #463aff;
456+
background-image: linear-gradient(#969696,#707070);
457457
color: #fff; } }
458458

459459
.button__accent {
460-
background-color: #FF5722;
461-
border-color:#FF5722;
460+
background-image: linear-gradient(#969696,#707070);
461+
462462
color: #fff; }
463463
@media (min-width: 992px) {
464464
.button__accent:hover {
465-
background-color: #E64A19;
466-
border-color: #E64A19;
465+
background-image: linear-gradient(#969696,#707070);
467466
color: #fff; } }
468467

469468
.button__delete {
@@ -770,12 +769,14 @@ select {
770769
.navbar__menu li {
771770
margin-left: 16pt; } }
772771
.navbar__menu a {
773-
color: #000; }
772+
color: #fff; }
774773
@media (min-width: 992px) {
775774
.navbar__menu a {
776-
opacity: 0.75; }
775+
opacity: 0.75;
776+
}
777777
.navbar__menu a:hover {
778-
opacity: 1; }
778+
opacity: 1;
779+
}
779780
.navbar__menu a:after {
780781
display: block;
781782
content: '';
@@ -1054,19 +1055,19 @@ select {
10541055
max-width: 60ch; }
10551056

10561057
.cta {
1057-
background: linear-gradient(to right, #6C63FF, #4641FF);
1058+
background: linear-gradient(to left, #333C44, #000000);
10581059
color: #fff;
10591060
padding: 48pt 0;
10601061
text-align: center; }
10611062

10621063
.cta--reverse {
1063-
background: linear-gradient(to left, #6C63FF, #4641FF); }
1064+
background: linear-gradient(to right, #333C44, #000000); }
10641065

10651066
.cta--plain {
1066-
background: #6C63FF; }
1067+
background: #000000; }
10671068

10681069
.cta--secondary {
1069-
background: #4641FF; }
1070+
background: #000000; }
10701071

10711072
.cta__title {
10721073
color: inherit; }

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
<div class="navbar__inner">
1717
<img href="index.html" src="images/Our/TWB_NoBackground.svg" height="55" width="55" alt="TWB" class="navbar__logo"/>
1818
<nav class="navbar__menu">
19-
<ul>
19+
<!--<ul>
2020
<li><a href="#">Display Wall</a></li>
2121
<li><a href="#">Next Work</a></li>
2222
</ul>
23+
-->
2324
</nav>
2425
<div class="navbar__menu-mob"><a href="" id='toggle'><svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z" class=""></path></svg></a></div>
2526
</div>

0 commit comments

Comments
 (0)