Difference between revisions of "Template:Tongji Software/CSS"

Line 24: Line 24:
 
<link href="https://2019.igem.org/Template:Tongji_Software/css/ClearDefaultCss_css?action=raw&ctype=text/css" rel="stylesheet">
 
<link href="https://2019.igem.org/Template:Tongji_Software/css/ClearDefaultCss_css?action=raw&ctype=text/css" rel="stylesheet">
 
</head>
 
</head>
 +
<style>
 +
*, *:after, *:before {
 +
        -webkit-box-sizing: border-box;
 +
        -moz-box-sizing: border-box;
 +
        box-sizing: border-box;
 +
    }
 +
 +
    body {
 +
        font-size: 100%;
 +
        font-family: "Source Sans Pro", sans-serif;
 +
        color: rgba(2, 23, 37, 0.7);
 +
        /*background-color: white;*/
 +
        overflow: hidden; /* 溢出隐藏 */
 +
        /*background: url("../img/cover.jpg") center no-repeat;*/
 +
        -webkit-background-size: cover;
 +
        background-size: cover;
 +
    }
 +
    body.overflow-hidden {
 +
        /* when primary navigation is visible, the content in the background won't scroll */
 +
        overflow: hidden;
 +
    }
 +
 +
    a {
 +
        color: white;
 +
        text-decoration: none;
 +
    }
 +
</style>
  
 
<body>
 
<body>

Revision as of 11:19, 5 October 2019

Tongji Software | Pathlab