Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
去除冗余
Browse files Browse the repository at this point in the history
  • Loading branch information
woytu committed Dec 3, 2019
1 parent 2df27bf commit acdbcf6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 63 deletions.
65 changes: 9 additions & 56 deletions resources/themes/bootstrap/css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* ---------------------------------------------------------------------------------------------- */

* {
margin: 0;
box-sizing: border-box;
Expand Down Expand Up @@ -28,23 +26,12 @@ body.breadcrumb-fixed {
max-width: 960px;
}

footer.container {
margin-bottom: 0;
min-height: 0;
}

.container:after {
content: "";
}


/* -------------------------------------------------------------------------- */


/* -----| HEADER |----------------------------------------------------------- */


/* -------------------------------------------------------------------------- */
/* -----| HEADER |------------------------------------ */

#page-navbar .navbar-text {
display: block;
Expand All @@ -58,13 +45,7 @@ footer.container {
}


/* ---------------------------------------------------------------------------------------------- */


/* -----| DIRECTORY LISTER |--------------------------------------------------------------------- */


/* ---------------------------------------------------------------------------------------------- */
/* -----| DIRECTORY LISTER |-------- */

#directory-list-header {
font-family: "Microsoft YaHei", "微软雅黑", "黑体", "宋体", sans-serif;
Expand Down Expand Up @@ -109,27 +90,20 @@ footer.container {
}


/* ---------------------------------------------------------------------------------------------- */


/* -----| FOOTER |------------------------------------------------------------------------------- */

/* -----| FOOTER |------------------ */

/* ---------------------------------------------------------------------------------------------- */
footer {
margin-top: 40px;
border-top: 1px solid #d7dde4;
}

.footer {
padding: 20px 0 20px 15px;
color: #717171;
}


/* ---------------------------------------------------------------------------------------------- */


/* -----| CHECKSUM MODAL |----------------------------------------------------------------------- */


/* ---------------------------------------------------------------------------------------------- */
/* -------------------------| CHECKSUM MODAL |-------------------------- */

#file-info {
margin: 0;
Expand All @@ -146,13 +120,7 @@ footer.container {
}


/* -------------------------------------------------------------------------- */


/* -----| RESPONSIVE |------------------------------------------------------- */


/* -------------------------------------------------------------------------- */
/* -----| RESPONSIVE |--------------------------------- */

@media (max-width: 767px) {
.navbar-nav {
Expand Down Expand Up @@ -277,13 +245,6 @@ footer.container {
vertical-align: text-bottom;
}


/*
.readme-background:hover {
background-position:-66px 0;
}
*/

.readme {
background-color: #fefefe;
padding: 20px;
Expand Down Expand Up @@ -406,14 +367,6 @@ footer.container {
content: "\f101";
}


/*
color: #159e83;
\f0da
\f105
\f101
*/

.readme table {
border-top: 1px solid #ddd;
border-left: 1px solid #ddd;
Expand Down
12 changes: 5 additions & 7 deletions resources/themes/bootstrap/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</head>

<body>
<div class="path-announcement navbar navbar-default navbar-fixed-top">
<header class="path-announcement navbar navbar-default navbar-fixed-top">
<div class="path-announcement2 container">
<!-- 顶部公告栏 start -->
<p style="color:red">
Expand All @@ -60,7 +60,7 @@
</p>
<!-- 顶部公告栏 end -->
</div>
</div>
</header>

<div class="page-content container">
<!-- 面包屑导航栏 start -->
Expand Down Expand Up @@ -176,9 +176,8 @@


<!-- footer start -->
<hr id="footer_hr" style="margin-bottom: 0;margin-top: 40px;" />
<footer class="container">
<div class="footer">
<footer>
<div class="footer container">
<?php file_exists('footer.php') ? include('footer.php') : include($lister->getThemePath(true) . "/default_footer.php"); ?>
</div>
</footer>
Expand Down Expand Up @@ -207,8 +206,7 @@ function anchorPositioning() {
}, 500);
}
// PHP赋值给js变量
// var mdText="<?php //echo $md_text;
?>";
// var mdText="<?php //echo $md_text; ?>";
// var md = window.markdownit();
// var result = md.render(mdText);
// $("#readme").html(result);
Expand Down

0 comments on commit acdbcf6

Please sign in to comment.