diff --git a/src/css/main.css b/src/css/main.css index fed3ebd..f435bbe 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -133,7 +133,9 @@ ul.social-icons { } .add_to_discord:hover { background-color: rgb(152, 67, 233); -} + text-decoration: none; + } + .commandstitle { color: #ffffff; } @@ -199,6 +201,141 @@ ul.social-icons { font-family: 'Cairo'; } + .card{ + background-color: rgb(255, 251, 251); + color: red; + max-width: 360px; + display: flex; + flex-direction: column; + overflow: hidden; + border-radius: 2rem; + box-shadow: 0px 1rem 1.5rem rgba(0,0,0,0.5); + } + + .card .banner{ + background-position: center; + background-repeat: no-repeat; + background-size: cover; + height: 11rem; + display: flex; + align-items: flex-end; + justify-content: center; + box-sizing: border-box; + } + .card .banner img{ + background-color: #fff; + width: 8rem; + height: 8rem; + box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3); + border-radius: 50%; + transform: translateY(50%); + transition: transform 200ms cubic-bezier(0.18, 0.89, 0.32, 1.28); + } + + .card .banner img:hover{ + transform: translateY(50%) scale(1.3); + } + + .card h2.name{ + text-align: center; + padding: 0 2rem 0.5rem; + margin: 0; + } + + .card .title{ + color: #a0a0a0; + font-size: 0.85rem; + text-align: center; + padding: 0 2rem 1.2rem; + } + + .card .actions{ + padding: 0 2rem 1.2rem; + display: flex; + flex-direction: column; + order: 99; + } + + .card .actions .follow-info{ + padding: 0 0 1rem; + display: flex; + } + + .card .actions .follow-info h2{ + text-align: center; + width: 50%; + margin: 0; + box-sizing: border-box; + } + + .card .actions .follow-info h2 a{ + text-decoration: none; + padding: 0.8rem; + display: flex; + flex-direction: column; + border-radius: 0.8rem; + transition: background-color 100ms ease-in-out; + } + + .card .actions .follow-info h2 a span{ + color: #1c9eff; + font-weight: bold; + transform-origin: bottom; + transform: scaleY(1.3); + transition: color 100ms ease-in-out; + } + + .card .actions .follow-info h2 a small{ + color: #afafaf; + font-size: 0.85rem; + font-weight: normal; + } + + .card .actions .follow-info h2 a:hover{ + background-color: #f2f2f2; + } + + .card .actions .follow-info h2 a:hover span{ + color: #007ad6; + } + + .card .actions .follow-btn button{ + color: inherit; + font: inherit; + font-weight: bold; + background-color: #ffd01a; + width: 100%; + border: none; + padding: 1rem; + outline: none; + box-sizing: border-box; + border-radius: 1.5rem/50%; + transition: background-color 100ms ease-in-out, transform 200ms cubic-bezier(0.18, 0.89, 0.32, 1.28); + } + + .card .actions .follow-btn button:hover{ + background-color: #efb10a; + transform: scale(1.1); + } + + .card .actions .follow-btn button:active{ + background-color: #e8a200; + transform: scale(1); + } + + .licetitle { + color: #ffff; + margin: 5px; + font-family: monospace; + } + + .textlice { + box-sizing: border-box; + color: #ffff; + margin: 3px; + letter-spacing: 1px; + } + .mastfoot.mb-auto{ padding-bottom: 40px; padding: 20px; @@ -207,7 +344,6 @@ ul.social-icons { height: auto; background-color: #212529; color: white; - position: initial; } diff --git a/src/index.html b/src/index.html index a501d37..310a367 100644 --- a/src/index.html +++ b/src/index.html @@ -30,7 +30,7 @@ Commands