update template

This commit is contained in:
nccu 2014-11-07 17:37:44 +08:00
parent 50fdb0b350
commit 9de2740b9f
2 changed files with 22 additions and 3 deletions

View File

@ -22,7 +22,11 @@ body {
} }
h1, h2, h3, h4, h5, h6, label, legend { h1, h2, h3, h4, h5, h6, label, legend {
font-family: "微軟正黑體", Arial, sans-serif; font-family: Helvetica, Arial, sans-serif;
}
h3 {
font-size: 18px;
font-size: 1.125rem;
} }
a { a {
@ -3830,7 +3834,13 @@ article.page_content .linkAndFile > div:last-child {
.hide{ .hide{
display: none; display: none;
} }
img {
max-width: 100%;
height: auto;
}
.text-right {
clear: both;
}
#main-content { #main-content {
padding-right: 20px; padding-right: 20px;
border-right: 1px solid #cfcfcf; border-right: 1px solid #cfcfcf;

View File

@ -236,7 +236,12 @@ $table-th-bgcolor: $theme-color-main;
// Announcement SHOW // Announcement SHOW
.show-announcement { .show-announcement {
.show-title { .show-title {
@extend .unity-title; font: 24em/100% sans-serif;
font-size: 1.5rem;
margin: 0 0 5px;
border-bottom: 1px solid #CFCFCF;
padding-bottom: 10px;
font-weight: bold;
} }
.post-metadata { .post-metadata {
@include clearfix; @include clearfix;
@ -283,6 +288,10 @@ $table-th-bgcolor: $theme-color-main;
.post-section { .post-section {
@include clearfix; @include clearfix;
margin-bottom: 2em; margin-bottom: 2em;
p {
font-size: 15px;
font-size: 0.9375rem;
}
.post-pic { .post-pic {
img { img {
@include size(100%, auto); @include size(100%, auto);