Fix accessibility.
This commit is contained in:
BoHung Chiu 2021-06-28 19:05:06 +08:00
parent c7eecaf28f
commit 9b31de43c9
23 changed files with 52 additions and 59 deletions

View File

@ -49,7 +49,7 @@ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default; $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
$font-family-base: $font-family-sans-serif !default; $font-family-base: $font-family-sans-serif !default;
$font-size-base: 14px !default; $font-size-base: 0.875em !default;
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
@ -84,17 +84,17 @@ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
// //
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start). //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
$padding-base-vertical: 6px !default; $padding-base-vertical: 0.375em !default;
$padding-base-horizontal: 12px !default; $padding-base-horizontal: 0.75em !default;
$padding-large-vertical: 10px !default; $padding-large-vertical: 0.625em !default;
$padding-large-horizontal: 16px !default; $padding-large-horizontal: 1em !default;
$padding-small-vertical: 5px !default; $padding-small-vertical: 0.3125em !default;
$padding-small-horizontal: 10px !default; $padding-small-horizontal: 0.625em !default;
$padding-xs-vertical: 1px !default; $padding-xs-vertical: 0.0625em !default;
$padding-xs-horizontal: 5px !default; $padding-xs-horizontal: 0.3125em !default;
$line-height-large: 1.33 !default; $line-height-large: 1.33 !default;
$line-height-small: 1.5 !default; $line-height-small: 1.5 !default;
@ -330,7 +330,7 @@ $container-lg: $container-large-desktop !default;
//## //##
// Basics of a navbar // Basics of a navbar
$navbar-height: 50px !default; $navbar-height: 3.125em !default;
$navbar-margin-bottom: $line-height-computed !default; $navbar-margin-bottom: $line-height-computed !default;
$navbar-border-radius: $border-radius-base !default; $navbar-border-radius: $border-radius-base !default;
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default; $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;

File diff suppressed because one or more lines are too long

View File

@ -62,13 +62,13 @@ a.btn-primary {
#main-content h3.i-annc__page-title, #main-content h1.page-module-title, #main-content h1.page-module-title, #main-content h1.page-module-title, #main-content table caption h3, h3.i-archive__page-title, #main-content h3.index-title, #main-content h3.i-member__status-title,.show-gallery .show-title{ #main-content h3.i-annc__page-title, #main-content h1.page-module-title, #main-content h1.page-module-title, #main-content h1.page-module-title, #main-content table caption h3, h3.i-archive__page-title, #main-content h3.index-title, #main-content h3.i-member__status-title,.show-gallery .show-title{
color: $theme-color-second; color: $theme-color-second;
font-size: 24px; font-size: 1.5em;
line-height: 1.4; line-height: 1.4;
} }
.main-content h3.s-annc__show-title{ .main-content h3.s-annc__show-title{
color: #222; color: #222;
font-size: 24px; font-size: 1.5em;
line-height: 1.4; line-height: 1.4;
} }

View File

@ -12,7 +12,7 @@
cursor: pointer; cursor: pointer;
display: none; display: none;
color: $theme-white; color: $theme-white;
font-size: 12px; font-size: 0.75em;
border-radius: 2px; border-radius: 2px;
z-index: 1050; z-index: 1050;

View File

@ -15,7 +15,7 @@ body .sitemap-list {
padding-bottom: 4px; padding-bottom: 4px;
} }
&.sitemap-list.level-1 > li > a{ &.sitemap-list.level-1 > li > a{
font-size: 22px; font-size: 1.375em;
color: $theme-color-main; color: $theme-color-main;
margin-bottom: 15px; margin-bottom: 15px;
&:hover{ &:hover{
@ -25,7 +25,7 @@ body .sitemap-list {
&.level-2 > li{ &.level-2 > li{
margin-bottom: 10px; margin-bottom: 10px;
> a{ > a{
font-size: 16px; font-size: 1em;
} }
} }
} }

View File

@ -23,7 +23,7 @@
.status { .status {
font-family: $main-font; font-family: $main-font;
font-size: 12px; font-size: 0.75em;
} }
.status-top { .status-top {

View File

@ -60,7 +60,7 @@
font: 15px/20px $main-font; font: 15px/20px $main-font;
.fa { .fa {
color: #666; color: #666;
font-size: 18px; font-size: 1.125em;
margin: 0 3px 0 0; margin: 0 3px 0 0;
} }
} }

View File

@ -36,7 +36,7 @@ $aside-title-color:#402E10;
} }
.widget-link{ .widget-link{
.widget-title{ .widget-title{
font-size: 22px; font-size: 1.375em;
color: $aside-title-color; color: $aside-title-color;
border-bottom: 2px solid $aside-title-color; border-bottom: 2px solid $aside-title-color;
margin: 0 0 4px; margin: 0 0 4px;

View File

@ -9,7 +9,7 @@
h3{ h3{
color: $theme-color-second; color: $theme-color-second;
font-family: $main-font; font-family: $main-font;
font-size: 24px; font-size: 1.5em;
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
line-height: 1.5; line-height: 1.5;
} }
@ -19,7 +19,7 @@
z-index: 10; z-index: 10;
.w-annc__widget-title{ .w-annc__widget-title{
color: $theme-color-second; color: $theme-color-second;
font-size: 24px; font-size: 1.5em;
margin-top: 0; margin-top: 0;
} }
.w-annc__box{ .w-annc__box{

View File

@ -680,7 +680,7 @@
.s-annc__social .print-button { .s-annc__social .print-button {
color: #fff; color: #fff;
font-size: 11px; font-size: 0.6875em;
border-radius: 4px; border-radius: 4px;
padding: 2px 6px; padding: 2px 6px;
background-color: $theme-color-main; background-color: $theme-color-main;

View File

@ -78,7 +78,7 @@
} }
.i-archive__category-item { .i-archive__category-item {
font-size: 13px; font-size: 0.8125em;
display: inline; display: inline;
font-size: .8125rem; font-size: .8125rem;
} }
@ -98,7 +98,7 @@
} }
.i-archive__file-name { .i-archive__file-name {
font-size: 12px; font-size: 0.75em;
font-size: 0.75rem; font-size: 0.75rem;
} }
} }
@ -119,7 +119,7 @@
} }
.i-archive-files-item { .i-archive-files-item {
font-size: 13px; font-size: 0.8125em;
font-family: $main-font; font-family: $main-font;
} }
@ -167,7 +167,7 @@
padding: 10px 12px; padding: 10px 12px;
margin-right: 5px; margin-right: 5px;
border-radius: 4px; border-radius: 4px;
font-size: 15px; font-size: 0.9375em;
&:hover { &:hover {
background-color: darken($theme-color-main, 7%); background-color: darken($theme-color-main, 7%);
@ -192,7 +192,7 @@
} }
.i-archive__archive-title { .i-archive__archive-title {
font-size: 15px; font-size: 0.9375em;
} }
.tab-content { .tab-content {
@ -200,7 +200,7 @@
} }
.i-archive__file-name { .i-archive__file-name {
font-size: 13px; font-size: 0.8125em;
} }
.i-archive__file-wrap { .i-archive__file-wrap {

View File

@ -69,11 +69,11 @@
.index-content-title { .index-content-title {
font-family: $main-font; font-family: $main-font;
font-size: 15px; font-size: 0.9375em;
} }
.index-img-description { .index-img-description {
font-size: 13px; font-size: 0.8125em;
} }
} }
} }
@ -101,11 +101,11 @@
.index-content-title { .index-content-title {
font-family: $main-font; font-family: $main-font;
font-size: 15px; font-size: 0.9375em;
} }
.index-img-description { .index-img-description {
font-size: 13px; font-size: 0.8125em;
} }
} }
} }
@ -138,7 +138,7 @@
.show-description { .show-description {
font-family: $main-font; font-family: $main-font;
font-size: 13px; font-size: 0.8125em;
padding: 8px; padding: 8px;
} }
} }

View File

@ -196,14 +196,14 @@
font-family: $sub-font; font-family: $sub-font;
th, td { th, td {
font-size: 15px; font-size: 0.9375em;
} }
.member-plugins { .member-plugins {
margin: 20px 0; margin: 20px 0;
a { a {
font-size: 15px; font-size: 0.9375em;
} }
} }
} }

View File

@ -185,7 +185,7 @@ $level2-bg-color:$theme-color-five;
display: block; display: block;
padding: 18px 15px; padding: 18px 15px;
font-family: $main-font; font-family: $main-font;
font-size: 15px; font-size: 0.9375em;
} }
&:hover { &:hover {

View File

@ -49,7 +49,7 @@ $theme-black: #000;
.i-space__building-title { .i-space__building-title {
font-family: $title-font; font-family: $title-font;
font-size: 15px; font-size: 0.9375em;
display: inline-block; display: inline-block;
margin: 5px 0; margin: 5px 0;
text-transform: uppercase; text-transform: uppercase;
@ -142,7 +142,7 @@ $theme-black: #000;
} }
.i-space__floor-name { .i-space__floor-name {
font-size: 13px; font-size: 0.8125em;
padding: 5px 10px; padding: 5px 10px;
color: $theme-white; color: $theme-white;
background-color: $theme-color-main; background-color: $theme-color-main;
@ -740,7 +740,7 @@ transition:.3s;
position: fixed; position: fixed;
right: 2rem; right: 2rem;
top: 2rem; top: 2rem;
font-size: 20px; font-size: 1.25em;
cursor: pointer; cursor: pointer;
z-index: 3000; z-index: 3000;
padding: 8px 15px; padding: 8px 15px;
@ -929,13 +929,13 @@ transition:.3s;
} }
p { p {
font-size: 13px; font-size: 0.8125em;
// height: 120px; // height: 120px;
overflow: hidden; overflow: hidden;
@media (min-width: $screen-sm) { @media (min-width: $screen-sm) {
font-size: 14px; font-size: 0.875em;
} }
&:empty { &:empty {

View File

@ -3,7 +3,7 @@
background: rgba(255,255,255,0.1); background: rgba(255,255,255,0.1);
border: 1px solid rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.1);
border-radius: 5px; border-radius: 5px;
font-size: 15px; font-size: 0.9375em;
list-style: outside none none; list-style: outside none none;
margin: 0 0 30px; margin: 0 0 30px;
min-height: 30px; min-height: 30px;

View File

@ -49,7 +49,7 @@
.index-context { .index-context {
display: inline-block; display: inline-block;
font-size: 13px; font-size: 0.8125em;
margin: 0 0 10px 2em; margin: 0 0 10px 2em;
color: darken($theme-gray-light, 20%); color: darken($theme-gray-light, 20%);
} }
@ -57,7 +57,7 @@
.index-content-title { .index-content-title {
font-family: $main-font; font-family: $main-font;
font-size: 16px; font-size: 1em;
} }
} }
} }

View File

@ -6,7 +6,7 @@ body {
color: #000; color: #000;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
line-height: 1.3; line-height: 1.3;
font-size: 12pt; font-size: 1em;
} }
blockquote, blockquote,

View File

@ -71,7 +71,7 @@
padding: 5px 10px; padding: 5px 10px;
background: $theme-color-main; background: $theme-color-main;
color:#fff; color:#fff;
font-size: 18px; font-size: 1.125em;
transition:.3s; transition:.3s;
&:hover{ &:hover{
background: $theme-color-second; background: $theme-color-second;

View File

@ -1,11 +1,4 @@
<div id="fb-root"></div> <div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

View File

@ -14,8 +14,8 @@
<div class="i-member-profile-data-wrap col-sm-9"> <div class="i-member-profile-data-wrap col-sm-9">
<ul class="i-member-profile-list" data-list="profile_data" data-level="3"> <ul class="i-member-profile-list" data-list="profile_data" data-level="3">
<li class="i-member-profile-item"> <li class="i-member-profile-item">
<span class="i-member-title {{title_class}}">{{title}}</span> <span class="i-member-title {{title_class}}"><strong>{{title}} : </strong></span>
<span class="i-member-value {{value_class}}">: {{value}}</span> <span class="i-member-value {{value_class}}">{{value}}</span>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -14,8 +14,8 @@
<div class="i-member-profile-data-wrap col-sm-8"> <div class="i-member-profile-data-wrap col-sm-8">
<ul class="i-member-profile-list" data-list="profile_data" data-level="3"> <ul class="i-member-profile-list" data-list="profile_data" data-level="3">
<li class="i-member-profile-item"> <li class="i-member-profile-item">
<span class="i-member-title {{title_class}}">{{title}}</span> <span class="i-member-title {{title_class}}"><strong>{{title}} : </strong></span>
<span class="i-member-value {{value_class}}">: {{value}}</span> <span class="i-member-value {{value_class}}">{{value}}</span>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -9,8 +9,8 @@
<div class="i-member-profile-data-wrap"> <div class="i-member-profile-data-wrap">
<ul class="i-member-profile-list" data-list="profile_data" data-level="3"> <ul class="i-member-profile-list" data-list="profile_data" data-level="3">
<li class="i-member-profile-item"> <li class="i-member-profile-item">
<span class="i-member-title {{title_class}}">{{title}}</span> <span class="i-member-title {{title_class}}"><strong>{{title}} : </strong></span>
<span class="i-member-value {{value_class}}">: {{value}}</span> <span class="i-member-value {{value_class}}">{{value}}</span>
</li> </li>
</ul> </ul>
</div> </div>