zoukankan      html  css  js  c++  java
  • 杯具啊404页面!

    <!doctype html>
    <html lang="zh-CN">
    
    <head>
        <meta charset="utf-8">
        <title>HTTP 404 - SegmentFault</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <style>
            * {
        line-height: 1.7;
        margin: 0;
        box-sizing: border-box;
    }
    
    html {
        background-color: #f3f3f3;
        color: #888;
        display: table;
        font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
        height: 100%;
        width: 100%;
    }
    
    body {
        display: table-cell;
        vertical-align: middle;
        margin: 2em auto;
    }
    
    h1 {
        color: #555;
        font-size: 2em;
    }
    
    a {
        color: #06a;
        text-decoration: none;
    }
    
    a:hover {
        text-decoration: underline;
    }
    
    p, .p {
        margin: 10px 0 15px;
    }
    
    input, button {
        font-size: 16px;
        padding: 6px 10px;
        border: none;
        border-radius: 2px;
    }
    
    input {
        background-color: #f3f3f3;
        width: 60%;
    }
    
    button {
        min-width: 80px;
        background-color: #009a61;
        text-align: center;
        color: #fff;
        cursor: pointer;
    }
    
    button:hover,
            button:active {
        background-color: #008151;
    }
    
    .error {
        color: #d9534f;
    }
    
    .text-center {
        text-align: center;
    }
    
    .box {
        margin: 0 auto;
        padding: 40px;
        background-color: #fff;
        width: 540px;
    }
    
    .figure {
        float: right;
        line-height: 0;
    }
    
    .figure img {
        height: 200px;
    }
    
    .footer {
        margin: 15px 0 0;
        color: #999;
        text-transform: uppercase;
        font-size: 13px;
    }
    
    .footer a {
        color: #999;
    }
    
    @media only screen and (max- 480px) {
    
        .box {
            padding: 20px;
            width: 100%;
        }
    
        h1 {
            font-size: 1.5em;
            margin: 0 0 0.3em 0;
        }
    
        .figure {
            float: none;
        }
    }
    
    .clearfix:before,
            .clearfix:after {
        content: " ";
        display: table;
    }
    
    .clearfix:after {
        clear: both;
    }
        </style>
    </head>
    
    <body>
        <div class="box">
            <div class="clearfix">
                <figure class="figure">
                    <img src="https://cdn.segmentfault.com/v-5e81b20e/global/img/404.svg" alt="杯具啊">
                </figure>
                <h1>杯具啊!</h1>
                <div class="p">HTTP 404……
                    <br/>可能这个页面已经飞走了</div>
                <div class="p">
                    <button type="button" onclick="window.location.href='/'">回首页</button>
                </div>
            </div>
        </div>
        <div class="footer text-center">1024 &copy; <a href="https://segmentfault.com">SegmentFault</a>
        </div>
    </body>
    
    </html>

  • 相关阅读:
    38.进程及同步异步的概念理解
    37.图灵接口及电脑语音聊天
    36.HTTP协议
    35.百度云语音识别接口使用及PyAudio语音识别模块安装
    34.TCP非阻塞连接及套接字异常处理丶端口扫描脚本
    33.TCP协议概念/scapy模块doos攻击
    32.网络编程TCP/UDP服务
    python递归函数实现阶乘函数
    用户不在sudoers文件中怎么办,ziheng is not in the sudoers file解决方法
    SecureCRT连接阿里云ECS服务器,经常掉线的解决方案
  • 原文地址:https://www.cnblogs.com/panziwen/p/12660505.html
Copyright © 2011-2022 走看看