-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from tsaishien-chen/main
Improve webpage experience
- Loading branch information
Showing
3 changed files
with
309 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,189 +1,189 @@ | ||
.nopadding { | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
} | ||
|
||
.flex { | ||
display: flex; | ||
display: flex; | ||
} | ||
|
||
.col-seven { | ||
width:14.285%; | ||
float:left; | ||
position: relative; | ||
min-height: 1px; | ||
padding-right: 0px; | ||
padding-left: 0px; | ||
} | ||
width:14.285%; | ||
float:left; | ||
position: relative; | ||
min-height: 1px; | ||
padding-right: 0px; | ||
padding-left: 0px; | ||
} | ||
|
||
h1 { | ||
/* Extra small devices (phones, less than 768px) */ | ||
font-size: 2rem; | ||
/* Extra small devices (phones, less than 768px) */ | ||
font-size: 2rem; | ||
} | ||
|
||
.paper-btn { | ||
position: relative; | ||
text-align: center; | ||
|
||
display: inline-block; | ||
margin: 8px; | ||
padding: 8px 8px; | ||
|
||
border-width: 0; | ||
outline: none; | ||
border-radius: 10px; | ||
background-color: #3e3e40; | ||
color: white !important; | ||
font-size: 16px; | ||
width: 180px; | ||
font-weight: 350; | ||
position: relative; | ||
text-align: center; | ||
|
||
display: inline-block; | ||
margin: 8px; | ||
padding: 8px 8px; | ||
|
||
border-width: 0; | ||
outline: none; | ||
border-radius: 10px; | ||
|
||
background-color: #3e3e40; | ||
color: white !important; | ||
font-size: 16px; | ||
width: 180px; | ||
font-weight: 350; | ||
} | ||
.paper-btn-parent { | ||
display: flex; | ||
justify-content: center; | ||
margin: 16px 0px; | ||
display: flex; | ||
justify-content: center; | ||
margin: 16px 0px; | ||
} | ||
.paper-btn:hover { | ||
opacity: 0.80; | ||
opacity: 0.80; | ||
} | ||
|
||
.video-teaser-container { | ||
position: relative; | ||
width: 25%; | ||
margin: 0%; | ||
overflow: hidden; | ||
cursor: pointer; | ||
position: relative; | ||
width: 25%; | ||
margin: 0%; | ||
overflow: hidden; | ||
cursor: pointer; | ||
} | ||
|
||
.video-teaser { | ||
width: 100%; | ||
height: auto; | ||
filter: brightness(0.7); | ||
transition: filter 0.3s ease-in-out; | ||
width: 100%; | ||
height: auto; | ||
filter: brightness(0.7); | ||
transition: filter 0.3s ease-in-out; | ||
} | ||
|
||
.video { | ||
width: 100%; | ||
height: auto; | ||
width: 100%; | ||
height: auto; | ||
} | ||
|
||
.hover-overlay { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
width: 80%; | ||
height: auto; | ||
opacity: 1; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: Chalkduster; | ||
font-size: 16px; | ||
text-align: center; | ||
transition: opacity 0.3s ease-in-out; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
width: 80%; | ||
height: auto; | ||
opacity: 1; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: Chalkduster; | ||
font-size: 16px; | ||
text-align: center; | ||
transition: opacity 0.3s ease-in-out; | ||
} | ||
|
||
.video-teaser-container:hover .video-teaser { | ||
filter: brightness(1); /* Brighten the video on hover */ | ||
filter: brightness(1); /* Brighten the video on hover */ | ||
} | ||
|
||
.video-teaser-container:hover .hover-overlay { | ||
opacity: 0; | ||
opacity: 0; | ||
} | ||
|
||
.download-table { | ||
border-collapse: collapse; | ||
width: auto; /* Adjust the width as needed */ | ||
border-collapse: collapse; | ||
width: auto; /* Adjust the width as needed */ | ||
} | ||
|
||
.download-table th, .custom-table td { | ||
border: 1px solid black; | ||
padding: 8px; | ||
text-align: center; | ||
border: 1px solid black; | ||
padding: 8px; | ||
text-align: center; | ||
} | ||
|
||
.download-table { | ||
border-collapse: collapse; | ||
width: auto; /* Adjust the width as needed */ | ||
border-collapse: collapse; | ||
width: auto; /* Adjust the width as needed */ | ||
} | ||
|
||
.footnote { | ||
color: #79797d; | ||
font-size: 12px; | ||
font-weight: 200; | ||
color: #79797d; | ||
font-size: 12px; | ||
font-weight: 200; | ||
} | ||
|
||
header { | ||
background-color: #000; | ||
color: #fff !important; | ||
padding: 5px; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
z-index: 1000; | ||
background-color: #000; | ||
color: #fff !important; | ||
padding: 5px; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
z-index: 1000; | ||
} | ||
|
||
header h5 { | ||
margin: 0; | ||
margin: 0; | ||
} | ||
|
||
nav { | ||
display: flex; | ||
display: flex; | ||
} | ||
|
||
nav a { | ||
color: #fff !important; | ||
text-decoration: none; | ||
margin-left: 20px; | ||
margin-right: 15px; | ||
color: #fff !important; | ||
text-decoration: none; | ||
margin-left: 20px; | ||
margin-right: 15px; | ||
} | ||
|
||
section { | ||
padding: 50px; | ||
padding: 50px; | ||
} | ||
|
||
div.scroll-container { | ||
background-color: #3e3e40; | ||
overflow: auto; | ||
white-space: nowrap; | ||
margin-top: 25px; | ||
margin-bottom: 25px; | ||
padding: 7px 7.5px 2.5px 9px; | ||
background-color: #3e3e40; | ||
overflow: auto; | ||
white-space: nowrap; | ||
margin-top: 25px; | ||
margin-bottom: 25px; | ||
padding: 7px 7.5px 2.5px 9px; | ||
} | ||
|
||
.image-container { | ||
text-align: center; | ||
text-align: center; | ||
} | ||
|
||
.image-item { | ||
opacity: 0; | ||
width: 100%; | ||
margin: 0px; | ||
transition: opacity 0.5s ease-in-out; | ||
opacity: 0; | ||
width: 100%; | ||
margin: 0px; | ||
transition: opacity 0.5s ease-in-out; | ||
} | ||
|
||
.image-item img { | ||
width: 100%; | ||
height: auto; | ||
width: 100%; | ||
height: auto; | ||
} | ||
|
||
.table-container { | ||
width: 80%; | ||
table-layout: fixed; | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: 80%; | ||
table-layout: fixed; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
@media (max-width: 1000px) { | ||
.table-container { | ||
width: 100%; | ||
} | ||
.table-container { | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.