github.com/qiuhoude/go-web@v0.0.0-20220223060959-ab545e78f20d/blogweb_gin/static/css/lib/login.css (about)

     1  * {
     2    box-sizing: border-box;
     3    font-weight: 300;
     4  }
     5  body {
     6    font-family: 'Source Sans Pro', sans-serif;
     7    color: white;
     8    font-weight: 300;
     9  }
    10  body ::-webkit-input-placeholder {
    11    /* WebKit browsers */
    12    font-family: 'Source Sans Pro', sans-serif;
    13    color: white;
    14    font-weight: 300;
    15  }
    16  body :-moz-placeholder {
    17    /* Mozilla Firefox 4 to 18 */
    18    font-family: 'Source Sans Pro', sans-serif;
    19    color: white;
    20    opacity: 1;
    21    font-weight: 300;
    22  }
    23  body ::-moz-placeholder {
    24    /* Mozilla Firefox 19+ */
    25    font-family: 'Source Sans Pro', sans-serif;
    26    color: white;
    27    opacity: 1;
    28    font-weight: 300;
    29  }
    30  body :-ms-input-placeholder {
    31    /* Internet Explorer 10+ */
    32    font-family: 'Source Sans Pro', sans-serif;
    33    color: white;
    34    font-weight: 300;
    35  }
    36  .wrapper {
    37    background: #50a3a2;
    38    background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    39    background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
    40    opacity: 0.8;
    41    position: absolute;
    42    top: 50%;
    43    left: 0;
    44    width: 100%;
    45    height: 500px;
    46    margin-top: -200px;
    47    overflow: hidden;
    48  
    49  }
    50  
    51  .wrapper.form-success .container h1 {
    52    -webkit-transform: translateY(85px);
    53        -ms-transform: translateY(85px);
    54            transform: translateY(85px);
    55  }
    56  .container {
    57    max-width: 600px;
    58    margin: 0 auto;
    59    padding: 80px 0;
    60    height: 400px;
    61    text-align: center;
    62  }
    63  .container h1 {
    64    font-size: 40px;
    65    -webkit-transition-duration: 1s;
    66            transition-duration: 1s;
    67    -webkit-transition-timing-function: ease-in-put;
    68            transition-timing-function: ease-in-put;
    69    font-weight: 200;
    70  }
    71  form {
    72    padding: 20px 0;
    73    position: relative;
    74    z-index: 2;
    75  }
    76  form input {
    77    -webkit-appearance: none;
    78       -moz-appearance: none;
    79            appearance: none;
    80    outline: 0;
    81    border: 1px solid rgba(255, 255, 255, 0.4);
    82    background-color: rgba(255, 255, 255, 0.2);
    83    width: 250px;
    84    border-radius: 3px;
    85    padding: 10px 15px;
    86    margin: 0 auto 10px auto;
    87    display: block;
    88    text-align: center;
    89    font-size: 18px;
    90    color: white;
    91    -webkit-transition-duration: 0.25s;
    92            transition-duration: 0.25s;
    93    font-weight: 300;
    94  }
    95  form input:hover {
    96    background-color: rgba(255, 255, 255, 0.4);
    97  }
    98  form input:focus {
    99    background-color: white;
   100    width: 300px;
   101    color: #53e3a6;
   102  }
   103  form button {
   104    -webkit-appearance: none;
   105       -moz-appearance: none;
   106            appearance: none;
   107    outline: 0;
   108    background-color: white;
   109    border: 0;
   110    padding: 10px 15px;
   111    color: #53e3a6;
   112    border-radius: 3px;
   113    width: 250px;
   114    cursor: pointer;
   115    font-size: 18px;
   116    -webkit-transition-duration: 0.25s;
   117            transition-duration: 0.25s;
   118  }
   119  form button:hover {
   120    background-color: #f5f7f9;
   121  }
   122  .bg-bubbles {
   123    position: absolute;
   124    top: 0;
   125    left: 0;
   126    width: 100%;
   127    height: 100%;
   128    z-index: 1;
   129  }
   130  .bg-bubbles li {
   131    position: absolute;
   132    list-style: none;
   133    display: block;
   134    width: 40px;
   135    height: 40px;
   136    background-color: rgba(255, 255, 255, 0.15);
   137    bottom: -160px;
   138    -webkit-animation: square 25s infinite;
   139    animation: square 25s infinite;
   140    -webkit-transition-timing-function: linear;
   141    transition-timing-function: linear;
   142  }
   143  .bg-bubbles li:nth-child(1) {
   144    left: 10%;
   145  }
   146  .bg-bubbles li:nth-child(2) {
   147    left: 20%;
   148    width: 80px;
   149    height: 80px;
   150    -webkit-animation-delay: 2s;
   151            animation-delay: 2s;
   152    -webkit-animation-duration: 17s;
   153            animation-duration: 17s;
   154  }
   155  .bg-bubbles li:nth-child(3) {
   156    left: 25%;
   157    -webkit-animation-delay: 4s;
   158            animation-delay: 4s;
   159  }
   160  .bg-bubbles li:nth-child(4) {
   161    left: 40%;
   162    width: 60px;
   163    height: 60px;
   164    -webkit-animation-duration: 22s;
   165            animation-duration: 22s;
   166    background-color: rgba(255, 255, 255, 0.25);
   167  }
   168  .bg-bubbles li:nth-child(5) {
   169    left: 70%;
   170  }
   171  .bg-bubbles li:nth-child(6) {
   172    left: 80%;
   173    width: 120px;
   174    height: 120px;
   175    -webkit-animation-delay: 3s;
   176            animation-delay: 3s;
   177    background-color: rgba(255, 255, 255, 0.2);
   178  }
   179  .bg-bubbles li:nth-child(7) {
   180    left: 32%;
   181    width: 160px;
   182    height: 160px;
   183    -webkit-animation-delay: 7s;
   184            animation-delay: 7s;
   185  }
   186  .bg-bubbles li:nth-child(8) {
   187    left: 55%;
   188    width: 20px;
   189    height: 20px;
   190    -webkit-animation-delay: 15s;
   191            animation-delay: 15s;
   192    -webkit-animation-duration: 40s;
   193            animation-duration: 40s;
   194  }
   195  .bg-bubbles li:nth-child(9) {
   196    left: 25%;
   197    width: 10px;
   198    height: 10px;
   199    -webkit-animation-delay: 2s;
   200            animation-delay: 2s;
   201    -webkit-animation-duration: 40s;
   202            animation-duration: 40s;
   203    background-color: rgba(255, 255, 255, 0.3);
   204  }
   205  .bg-bubbles li:nth-child(10) {
   206    left: 90%;
   207    width: 160px;
   208    height: 160px;
   209    -webkit-animation-delay: 11s;
   210            animation-delay: 11s;
   211  }
   212  @-webkit-keyframes square {
   213    0% {
   214      -webkit-transform: translateY(0);
   215              transform: translateY(0);
   216    }
   217    100% {
   218      -webkit-transform: translateY(-700px) rotate(600deg);
   219              transform: translateY(-700px) rotate(600deg);
   220    }
   221  }
   222  @keyframes square {
   223    0% {
   224      -webkit-transform: translateY(0);
   225              transform: translateY(0);
   226    }
   227    100% {
   228      -webkit-transform: translateY(-700px) rotate(600deg);
   229              transform: translateY(-700px) rotate(600deg);
   230    }
   231  }