init
This commit is contained in:
71
DouyinApi.Api/wwwroot/css/site.css
Normal file
71
DouyinApi.Api/wwwroot/css/site.css
Normal file
@@ -0,0 +1,71 @@
|
||||
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
for details on configuring this project to bundle and minify static web assets. */
|
||||
|
||||
a.navbar-brand {
|
||||
white-space: normal;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/* Provide sufficient contrast against white background */
|
||||
a {
|
||||
color: #0366d6;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
/* Sticky footer styles
|
||||
-------------------------------------------------- */
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.border-top {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.border-bottom {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.box-shadow {
|
||||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
button.accept-policy {
|
||||
font-size: 1rem;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
/* Sticky footer styles
|
||||
-------------------------------------------------- */
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
line-height: 60px; /* Vertically center the text there */
|
||||
}
|
||||
132
DouyinApi.Api/wwwroot/css/style.css
Normal file
132
DouyinApi.Api/wwwroot/css/style.css
Normal file
@@ -0,0 +1,132 @@
|
||||
@charset "utf-8";
|
||||
::selection {
|
||||
background: #2D2F36;
|
||||
}
|
||||
::-webkit-selection {
|
||||
background: #2D2F36;
|
||||
}
|
||||
::-moz-selection {
|
||||
background: #2D2F36;
|
||||
}
|
||||
body {
|
||||
background: white;
|
||||
font-family: 'Inter UI', sans-serif;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
.page {
|
||||
background: #e2e2e5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: calc(100% - 40px);
|
||||
position: absolute;
|
||||
place-content: center;
|
||||
width: calc(100% - 40px);
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.page {
|
||||
height: auto;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.container {
|
||||
display: flex;
|
||||
height: 320px;
|
||||
margin: 0 auto;
|
||||
width: 640px;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.container {
|
||||
flex-direction: column;
|
||||
height: 630px;
|
||||
width: 320px;
|
||||
}
|
||||
}
|
||||
.left {
|
||||
background: white;
|
||||
height: calc(100% - 40px);
|
||||
top: 20px;
|
||||
position: relative;
|
||||
width: 50%;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.left {
|
||||
height: 100%;
|
||||
left: 20px;
|
||||
width: calc(100% - 40px);
|
||||
max-height: 270px;
|
||||
}
|
||||
}
|
||||
.login {
|
||||
font-size: 33px;
|
||||
font-weight: 900;
|
||||
margin: 50px 40px 40px;
|
||||
}
|
||||
.eula {
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
margin: 40px;
|
||||
}
|
||||
.right {
|
||||
background: #474A59;
|
||||
box-shadow: 0px 0px 40px 16px rgba(0,0,0,0.22);
|
||||
color: #F1F1F2;
|
||||
position: relative;
|
||||
width: 50%;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.right {
|
||||
flex-shrink: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
max-height: 350px;
|
||||
}
|
||||
}
|
||||
svg {
|
||||
position: absolute;
|
||||
width: 320px;
|
||||
}
|
||||
path {
|
||||
fill: none;
|
||||
stroke: url(#linearGradient);;
|
||||
stroke-width: 4;
|
||||
stroke-dasharray: 240 1386;
|
||||
}
|
||||
.form {
|
||||
margin: 40px;
|
||||
position: absolute;
|
||||
}
|
||||
label {
|
||||
color: #c2c2c5;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
height: 16px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
input {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: #f2f2f2;
|
||||
font-size: 20px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
outline: none !important;
|
||||
width: 100%;
|
||||
}
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
}
|
||||
#submit {
|
||||
color: #707075;
|
||||
margin-top: 40px;
|
||||
transition: color 300ms;
|
||||
}
|
||||
#submit:focus {
|
||||
color: #f2f2f2;
|
||||
}
|
||||
#submit:active {
|
||||
color: #d0d0d2;
|
||||
}
|
||||
Reference in New Issue
Block a user