Difference between revisions of "Template:NCKU Tainan/css/improve"

Line 1: Line 1:
  .result{
+
.fig{
      height: 500px !important;
+
  margin-bottom: 50px;
      width: auto !important;
+
}
      padding-left: 200px;
+
          }
+
  
  #HQ_page p {
+
.result{
    font-size: 20px;
+
  height: 500px !important;
    margin: 0;
+
  width: auto !important;
    background-color: #010E00;
+
  padding-left: 200px;
     color: white;
+
     }
  }
+
  
  body {
+
#HQ_page p {
    background-color: #272625;
+
font-size: 20px;
  }
+
margin: 0;
 +
background-color: #010E00;
 +
color: white;
 +
}
  
  /*header*/
+
body {
  .carousel-item {
+
background-color: #272625;
    height: 100vh;
+
}
    min-height: 300px;
+
    background: no-repeat center center scroll;
+
    -webkit-background-size: cover;
+
    -moz-background-size: cover;
+
    -o-background-size: cover;
+
    background-size: cover;
+
    }
+
  
  .head2 {
+
/*header*/
    color: white;
+
.carousel-item {
    width: 30%;
+
height: 100vh;
    font-size: 50px;
+
min-height: 300px;
    font-weight: 700;
+
background: no-repeat center center scroll;
    border-bottom: 10px solid #7ae26f !important;
+
-webkit-background-size: cover;
    position: relative;
+
-moz-background-size: cover;
  }
+
-o-background-size: cover;
 +
background-size: cover;
 +
}
  
  .head4 {
+
.head2 {
    color: white;
+
color: white;
    width: 40%;
+
width: 30%;
    font-size: 50px;
+
font-size: 50px;
    font-weight: 700;
+
font-weight: 700;
    border-bottom: 10px solid #7ae26f !important;
+
border-bottom: 10px solid #7ae26f !important;
    position: relative;
+
position: relative;
  }
+
}
  
  /* paragraph content*/
+
.head4 {
 +
color: white;
 +
width: 40%;
 +
font-size: 50px;
 +
font-weight: 700;
 +
border-bottom: 10px solid #7ae26f !important;
 +
position: relative;
 +
}
  
  #pt{
+
/* paragraph content*/
    padding-top: 10px;
+
  }
+
  
  h10 {
+
#pt{
    color: white;
+
padding-top: 10px;
    font-size: 1.4rem;
+
}
    line-height: 150%;
+
  }
+
  
  h8 {
+
h10 {
    color: white;
+
color: white;
    font-size: 1.8rem;
+
font-size: 1.4rem;
    line-height: 150%;
+
line-height: 150%;
  }
+
}
  h3 {
+
    color: white;
+
    font-size: 35px;
+
    line-height: 50px;
+
  }
+
  
  .navbar {
+
h8 {
    padding-top: 10px;
+
color: white;
    margin-bottom: 0;
+
font-size: 1.8rem;
  }
+
line-height: 150%;
  .navbar-brand {
+
}
    font-size: 30px;
+
h3 {
  }
+
color: white;
  .nav-link {
+
font-size: 35px;
    font-size: 20px;
+
line-height: 50px;
  }
+
}
  a.dropdown-item {
+
    color: #4F7F52;
+
  }
+
  a.dropdown-item:active {
+
    background-color: #4F7F52;
+
  }
+
  .caret {
+
    display: inline-block;
+
    width: 0;
+
    height: 0;
+
    margin-left: 2px;
+
    vertical-align: middle;
+
    border-top: 4px solid;
+
    border-right: 4px solid transparent;
+
    border-left: 4px solid transparent;
+
  }
+
  /*滑到navbar就展開*/
+
  .dropdown-menu li:hover .sub-menu {visibility: visible;}
+
  .dropdown:hover .dropdown-menu {display: block;}
+
 
+
  .head {
+
    color: white;
+
    width: 50%;
+
    font-size: 50px;
+
    font-weight: 700 !important;
+
    border-bottom: 10px solid #7ae26f !important;
+
    position: relative;
+
  }
+
  .container.content {
+
    margin-top: 80px;
+
  }
+
  
  @media (min-width: 992px) {
+
.navbar {
    .navbar {
+
padding-top: 10px;
      padding-left: 80px;
+
margin-bottom: 0;
      padding-right: 80px;
+
}
    }
+
.navbar-brand {
  }
+
font-size: 30px;
  @media (max-width: 768px) {
+
}
    .navbar-right form {
+
.nav-link {
      display: none;
+
font-size: 20px;
    }
+
}
  }
+
a.dropdown-item {
  @media (max-width: 568px) {
+
color: #4F7F52;
    footer {
+
}
      text-align: center;
+
a.dropdown-item:active {
    }
+
background-color: #4F7F52;
    .list-group {
+
}
      display: none;
+
.caret {
    }
+
display: inline-block;
  }
+
width: 0;
 +
height: 0;
 +
margin-left: 2px;
 +
vertical-align: middle;
 +
border-top: 4px solid;
 +
border-right: 4px solid transparent;
 +
border-left: 4px solid transparent;
 +
}
 +
/*滑到navbar就展開*/
 +
.dropdown-menu li:hover .sub-menu {visibility: visible;}
 +
.dropdown:hover .dropdown-menu {display: block;}
  
  /*folded-corner*/
+
.head {
  .post {
+
color: white;
    position: relative;
+
width: 50%;
  }
+
font-size: 50px;
  .folded-corner {
+
font-weight: 700 !important;
    position: absolute;
+
border-bottom: 10px solid #7ae26f !important;
    bottom: 0px; 
+
position: relative;
    right: 0px;
+
}
    border-width: 0;
+
.container.content {
    border-style: solid;
+
margin-top: 80px;
    background: hsla(260,100%,100%,0.2);
+
}
    box-shadow: 0px -4px 0px rgba(0,0,0,0.3), -1px -4px 0px rgba(0,0,0,0.1);
+
    border-radius: 15px 0 0 0;
+
    border-color: transparent #B9DEBB transparent transparent;
+
    transition: border-width 0.2s ease-out;
+
  }
+
  .post:hover .folded-corner {
+
    border-width: 40px 40px 0 0;
+
  }
+
  .photo .folded-corner {
+
    background: hsla(260,5%,75%,0.5);
+
  }
+
  
  [class*="col-"] {
+
@media (min-width: 992px) {
    float: left;
+
.navbar {
    padding: 13px;
+
padding-left: 80px;
  }
+
padding-right: 80px;
  a.list-group-item:visited {
+
}
    color: white;
+
}
  }
+
@media (max-width: 768px) {
  a:hover {
+
.navbar-right form {
    background-color: transparent;
+
display: none;
  }
+
}
  .list-group {
+
}
    margin-top: 100px;
+
@media (max-width: 568px) {
  }
+
footer {
  .col-2.side {
+
text-align: center;
    padding: 0;
+
}
  }
+
.list-group {
  .list-group-item {
+
display: none;
    padding: .55rem .35rem;
+
}
    background-color: #272625;
+
}
    color: white;
+
    border: none;
+
    font-size: 19px;
+
  }
+
  a.list-group-item.list-group-item-action {
+
    background-color: transparent;
+
  }
+
  a.list-group-item.list-group-item-action:hover {
+
    color: #98CC9B;
+
  }
+
  a.list-group-item.list-group-item-action.active {
+
    background-color: transparent;
+
    color: #7ae26f;
+
  }
+
  .scrollspy-example h4{
+
    font-size: 2rem;
+
  }
+
  
 
+
/*folded-corner*/
 +
.post {
 +
position: relative;
 +
}
 +
.folded-corner {
 +
position: absolute;
 +
bottom: 0px; 
 +
right: 0px;
 +
border-width: 0;
 +
border-style: solid;
 +
background: hsla(260,100%,100%,0.2);
 +
box-shadow: 0px -4px 0px rgba(0,0,0,0.3), -1px -4px 0px rgba(0,0,0,0.1);
 +
border-radius: 15px 0 0 0;
 +
border-color: transparent #B9DEBB transparent transparent;
 +
transition: border-width 0.2s ease-out;
 +
}
 +
.post:hover .folded-corner {
 +
border-width: 40px 40px 0 0;
 +
}
 +
.photo .folded-corner {
 +
background: hsla(260,5%,75%,0.5);
 +
}
  
  img.contentimg {
+
[class*="col-"] {
      width: 100%;
+
float: left;
      margin: 20px 0;
+
padding: 13px;
  }
+
}
  a.link {
+
a.list-group-item:visited {
      font-size: 30px;
+
color: white;
      color: #4F7F52;
+
}
  }
+
a:hover {
  #list-item-1 {
+
background-color: transparent;
      padding-top: 20px;
+
}
      text-align:justify;
+
.list-group {
  }
+
margin-top: 100px;
  #list-item-2 {
+
}
      padding-top: 20px;
+
.col-2.side {
      text-align:justify;
+
padding: 0;
  }
+
}
  #list-item-3 {
+
.list-group-item {
      padding-top: 20px;
+
padding: .55rem .35rem;
      text-align:justify;
+
background-color: #272625;
  }
+
color: white;
  #list-item-4 {
+
border: none;
      padding-top: 20px;
+
font-size: 19px;
      text-align:justify;
+
}
  }
+
a.list-group-item.list-group-item-action {
  #list-item-5 {
+
background-color: transparent;
      padding-top: 20px;
+
}
      text-align:justify;
+
a.list-group-item.list-group-item-action:hover {
  }
+
color: #98CC9B;
  a.reference {
+
}
    color: #4F7F52;
+
a.list-group-item.list-group-item-action.active {
  }
+
background-color: transparent;
 +
color: #7ae26f;
 +
}
 +
.scrollspy-example h4{
 +
font-size: 2rem;
 +
}
 +
 
 +
 
 +
 
 +
img.contentimg {
 +
width: 100%;
 +
margin: 20px 0;
 +
}
 +
a.link {
 +
font-size: 30px;
 +
color: #4F7F52;
 +
}
 +
#list-item-1 {
 +
padding-top: 20px;
 +
text-align:justify;
 +
}
 +
#list-item-2 {
 +
padding-top: 20px;
 +
text-align:justify;
 +
}
 +
#list-item-3 {
 +
padding-top: 20px;
 +
text-align:justify;
 +
}
 +
#list-item-4 {
 +
padding-top: 20px;
 +
text-align:justify;
 +
}
 +
#list-item-5 {
 +
padding-top: 20px;
 +
text-align:justify;
 +
}
 +
a.reference {
 +
color: #4F7F52;
 +
}

Revision as of 14:56, 16 October 2018

.fig{

 margin-bottom: 50px;

}

.result{

 height: 500px !important;
 width: auto !important;
 padding-left: 200px;
    }
  1. HQ_page p {

font-size: 20px; margin: 0; background-color: #010E00; color: white; }

body { background-color: #272625; }

/*header*/ .carousel-item { height: 100vh; min-height: 300px; background: no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

.head2 { color: white; width: 30%; font-size: 50px; font-weight: 700; border-bottom: 10px solid #7ae26f !important; position: relative; }

.head4 { color: white; width: 40%; font-size: 50px; font-weight: 700; border-bottom: 10px solid #7ae26f !important; position: relative; }

/* paragraph content*/

  1. pt{

padding-top: 10px; }

h10 { color: white; font-size: 1.4rem; line-height: 150%; }

h8 { color: white; font-size: 1.8rem; line-height: 150%; } h3 { color: white; font-size: 35px; line-height: 50px; }

.navbar { padding-top: 10px; margin-bottom: 0; } .navbar-brand { font-size: 30px; } .nav-link { font-size: 20px; } a.dropdown-item { color: #4F7F52; } a.dropdown-item:active { background-color: #4F7F52; } .caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; } /*滑到navbar就展開*/ .dropdown-menu li:hover .sub-menu {visibility: visible;} .dropdown:hover .dropdown-menu {display: block;}

.head { color: white; width: 50%; font-size: 50px; font-weight: 700 !important; border-bottom: 10px solid #7ae26f !important; position: relative; } .container.content { margin-top: 80px; }

@media (min-width: 992px) { .navbar {

padding-left: 80px;
padding-right: 80px;

} } @media (max-width: 768px) { .navbar-right form {

display: none;

} } @media (max-width: 568px) { footer {

text-align: center;

} .list-group {

display: none;

} }

/*folded-corner*/ .post { position: relative; } .folded-corner { position: absolute; bottom: 0px; right: 0px; border-width: 0; border-style: solid; background: hsla(260,100%,100%,0.2); box-shadow: 0px -4px 0px rgba(0,0,0,0.3), -1px -4px 0px rgba(0,0,0,0.1); border-radius: 15px 0 0 0; border-color: transparent #B9DEBB transparent transparent; transition: border-width 0.2s ease-out; } .post:hover .folded-corner { border-width: 40px 40px 0 0; } .photo .folded-corner { background: hsla(260,5%,75%,0.5); }

[class*="col-"] { float: left; padding: 13px; } a.list-group-item:visited { color: white; } a:hover { background-color: transparent; } .list-group { margin-top: 100px; } .col-2.side { padding: 0; } .list-group-item { padding: .55rem .35rem; background-color: #272625; color: white; border: none; font-size: 19px; } a.list-group-item.list-group-item-action { background-color: transparent; } a.list-group-item.list-group-item-action:hover { color: #98CC9B; } a.list-group-item.list-group-item-action.active { background-color: transparent; color: #7ae26f; } .scrollspy-example h4{ font-size: 2rem; }


img.contentimg {

width: 100%;
margin: 20px 0;

} a.link {

font-size: 30px;
color: #4F7F52;

}

  1. list-item-1 {
padding-top: 20px;
text-align:justify;

}

  1. list-item-2 {
padding-top: 20px;
text-align:justify;

}

  1. list-item-3 {
padding-top: 20px;
text-align:justify;

}

  1. list-item-4 {
padding-top: 20px;
text-align:justify;

}

  1. list-item-5 {
padding-top: 20px;
text-align:justify;

} a.reference { color: #4F7F52; }