抽离html公共样式;套壳页面添加不刷新页面切换页面,以及url target参数等
This commit is contained in:
		
							
								
								
									
										24
									
								
								html/assets/css/main.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								html/assets/css/main.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
#list {
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  border-spacing: 0;
 | 
			
		||||
  border: 0.4px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#list tr {
 | 
			
		||||
  height: min(1.85rem, 50px);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#list td {
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  border: 0.4px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 热搜的 label 样式 */
 | 
			
		||||
.hotband-label {
 | 
			
		||||
  color: white;
 | 
			
		||||
  padding: 3px;
 | 
			
		||||
  border-radius: 6px;
 | 
			
		||||
  font-size: 10px;
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
}
 | 
			
		||||
@@ -6,32 +6,11 @@
 | 
			
		||||
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
    <title>B站热搜</title>
 | 
			
		||||
    <link rel="stylesheet" href="./assets/css/main.css">
 | 
			
		||||
    <style>
 | 
			
		||||
        #list {
 | 
			
		||||
            width: 100%;
 | 
			
		||||
            text-align: center;
 | 
			
		||||
            border-spacing: 0;
 | 
			
		||||
            border: 0.4px solid black;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        #list tr {
 | 
			
		||||
            height: min(1.85rem, 50px);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        #list td {
 | 
			
		||||
            margin: 0;
 | 
			
		||||
            border: 0.4px solid black;
 | 
			
		||||
            font-size: 14px;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /* 热搜的 label 样式 */
 | 
			
		||||
        .hotband-label {
 | 
			
		||||
            color: white;
 | 
			
		||||
            padding: 3px;
 | 
			
		||||
            border-radius: 6px;
 | 
			
		||||
            font-size: 10px;
 | 
			
		||||
            display: inline-block;
 | 
			
		||||
        }
 | 
			
		||||
    </style>
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -6,32 +6,7 @@
 | 
			
		||||
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
    <title>微博热搜</title>
 | 
			
		||||
    <style>
 | 
			
		||||
        #list {
 | 
			
		||||
            width: 100%;
 | 
			
		||||
            text-align: center;
 | 
			
		||||
            border-spacing: 0;
 | 
			
		||||
            border: 0.4px solid black;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        #list tr {
 | 
			
		||||
            height: min(1.85rem, 50px);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        #list td {
 | 
			
		||||
            margin: 0;
 | 
			
		||||
            border: 0.4px solid black;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /* 热搜的 label 样式 */
 | 
			
		||||
        .hotband-label {
 | 
			
		||||
            color: white;
 | 
			
		||||
            padding: 3px;
 | 
			
		||||
            border-radius: 6px;
 | 
			
		||||
            font-size: 10px;
 | 
			
		||||
            display: inline-block;
 | 
			
		||||
        }
 | 
			
		||||
    </style>
 | 
			
		||||
    <link rel="stylesheet" href="./assets/css/main.css">
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user