diff --git a/WEB/View/src/CSS/Main.css b/WEB/View/src/CSS/Main.css index fbce276e..fd50a2db 100644 --- a/WEB/View/src/CSS/Main.css +++ b/WEB/View/src/CSS/Main.css @@ -223,6 +223,7 @@ ul { .fast-flicker { animation: shine 2s forwards, blink 10s 1s infinite; + -webkit-animation: shine 2s forwards, blink 10s 1s infinite; } /* COntainer CSS */ diff --git a/WEB/View/src/CSS/Main2.css b/WEB/View/src/CSS/Main2.css index 35114d82..f0efff2d 100644 --- a/WEB/View/src/CSS/Main2.css +++ b/WEB/View/src/CSS/Main2.css @@ -1,6 +1,18 @@ -body { +/*Fonts CSS */ + +@font-face { + font-family: Fauna; + src: url("../../assets/fonts/Fauna.ttf"); +} +@font-face { + font-family: Equinox; + src: url("../../assets/fonts/Equinox.otf"); +} +/* End Fonts CSS */ + +body { min-height: 100vh; - font-family: "Orbitron", sans-serif; + font-family: "Equinox", sans-serif; color: white; scroll-behavior: smooth; height: 100vh; @@ -145,7 +157,7 @@ button.logButton .circle .icon { top: 0; bottom: 0; margin: auto; - background: #222831; + background: #050e15; } button.logButton .circle .icon.arrow { transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1); @@ -161,8 +173,8 @@ button.logButton .circle .icon.arrow::before { right: 0.0625rem; width: 0.625rem; height: 0.625rem; - border-top: 0.125rem solid #222831; - border-right: 0.125rem solid #222831; + border-top: 0.125rem solid #050e15; + border-right: 0.125rem solid #050e15; transform: rotate(45deg); } button.logButton .button-text { @@ -186,10 +198,102 @@ button:hover .circle { } button:hover .circle .icon.arrow { - background: #222831; + background: #050e15; transform: translate(1rem, 0); } button:hover .button-text { - color: #222831; + color: #050e15; +} + +/* Button style for code */ + +a, +button { + text-decoration: none !important; + outline: none !important; +} + +.cssbuttons-io { + position: relative; + font-family: inherit; + font-weight: bolder; + font-size: 18px; + letter-spacing: 0.05em; + border-radius: 0.8em; + border: none; + color: black; + overflow: hidden; + width: 70%; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.com/svgjs' width='300' height='75' preserveAspectRatio='none' viewBox='0 0 300 75'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1104%26quot%3b)' fill='none'%3e%3crect width='300' height='75' x='0' y='0' fill='rgba(0%2c 0%2c 0%2c 1)'%3e%3c/rect%3e%3cpath d='M-11.476106017509828 33.47060972583941L-2.015461870303831 52.03816931799171 16.55209772184847 42.57752517078571 7.091453574642472 24.009965578633413z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M258.0719965516592 46.07799073582278L240.7745192544972 50.39073620454944 245.08726472322385 67.68821350171143 262.3847420203859 63.37546803298477z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M180.93 12.89 a22.93 22.93 0 1 0 45.86 0 a22.93 22.93 0 1 0 -45.86 0z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M164.62 31.32 a16.98 16.98 0 1 0 33.96 0 a16.98 16.98 0 1 0 -33.96 0z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M224.20611910410452 18.55085907357581L212.48065635471693 9.389923563339346 215.04518359386805 30.27632182296341z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M278.01 40.11 a20.95 20.95 0 1 0 41.9 0 a20.95 20.95 0 1 0 -41.9 0z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M186.04 41.06 a15.82 15.82 0 1 0 31.64 0 a15.82 15.82 0 1 0 -31.64 0z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M21.39 16.13 a24.66 24.66 0 1 0 49.32 0 a24.66 24.66 0 1 0 -49.32 0z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M224.00916726888346-9.23366258290659L211.00323044588336 2.8945697138943434 236.1373995656844 3.772274240093518z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M156.83 17.1 a13.5 13.5 0 1 0 27 0 a13.5 13.5 0 1 0 -27 0z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M246.21781304822062 69.63762934778728L231.63253228481503 64.5999612265927 233.97485791251776 77.88394997460789z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M101.31710504730977-6.198536151196572L94.75897362904786-0.4976394844455836 106.5893843383053 6.48910930957177z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M117.4526134603044-3.4023751975074994L101.06749414910404-13.247548129675788 91.22232121693574 3.1375711815245815 107.60744052813612 12.98274411369287z' fill='rgba(68%2c 255%2c 246%2c 0.45)' class='triangle-float1'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1104'%3e%3crect width='300' height='75' fill='white'%3e%3c/rect%3e%3c/mask%3e%3cstyle%3e %40keyframes float1 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-10px%2c 0)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float1 %7b animation: float1 5s infinite%3b %7d %40keyframes float2 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-5px%2c -5px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float2 %7b animation: float2 4s infinite%3b %7d %40keyframes float3 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(0%2c -10px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float3 %7b animation: float3 6s infinite%3b %7d %3c/style%3e%3c/defs%3e%3c/svg%3e"); + background-position: center center; + background-attachment: fixed; + background-repeat: no-repeat; + background-size: cover; +} + +.cssbuttons-io:hover { + color: #fff; +} + +.cssbuttons-io svg { + width: 1.2em; + height: 1.2em; + margin-right: 0.5em; +} + +.cssbuttons-io span { + position: relative; + z-index: 10; + display: inline-flex; + align-items: center; + padding: 0.8em 1.2em 0.8em 1.05em; + transition: color 0.6s; + -webkit-transition: color 0.6s; + -moz-transition: color 0.6s; + -ms-transition: color 0.6s; + -o-transition: color 0.6s; +} + +.cssbuttons-io::before, +.cssbuttons-io::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 0; +} + +.cssbuttons-io::before { + content: ""; + background: white; + width: 120%; + left: -10%; + transform: skew(30deg); + -webkit-transform: skew(30deg); + -moz-transform: skew(30deg); + -ms-transform: skew(30deg); + -o-transform: skew(30deg); + transition: transform 0.6s cubic-bezier(0.3, 1, 0.8, 1); + -webkit-transition: transform 0.6s cubic-bezier(0.3, 1, 0.8, 1); + -moz-transition: transform 0.6s cubic-bezier(0.3, 1, 0.8, 1); + -ms-transition: transform 0.6s cubic-bezier(0.3, 1, 0.8, 1); + -o-transition: transform 0.6s cubic-bezier(0.3, 1, 0.8, 1); +} + +.cssbuttons-io:hover::before { + transform: translate3d(100%, 0, 0); + -webkit-transform: translate3d(100%, 0, 0); + -moz-transform: translate3d(100%, 0, 0); + -ms-transform: translate3d(100%, 0, 0); + -o-transform: translate3d(100%, 0, 0); +} + +.cssbuttons-io:active { + transform: scale(0.95); + -webkit-transform: scale(0.95); + -moz-transform: scale(0.95); + -ms-transform: scale(0.95); + -o-transform: scale(0.95); } diff --git a/WEB/View/src/CSS/Presentation.css b/WEB/View/src/CSS/Presentation.css index b7f59fac..4e766223 100644 --- a/WEB/View/src/CSS/Presentation.css +++ b/WEB/View/src/CSS/Presentation.css @@ -8,6 +8,7 @@ font-family: Equinox; src: url("../../assets/fonts/Equinox.otf"); } +/* End Fonts CSS */ body { min-height: 100vh; diff --git a/WEB/View/src/pages/Main2.html b/WEB/View/src/pages/Main2.html index 05004e86..f2d9cc76 100644 --- a/WEB/View/src/pages/Main2.html +++ b/WEB/View/src/pages/Main2.html @@ -112,18 +112,37 @@