Files
code.academic_webpage/style.css
2025-06-29 09:01:29 +08:00

464 lines
8.0 KiB
CSS
Executable File

html {
scroll-behavior: smooth;
max-width: 50em;
margin: auto;
}
body {
font-family: "Georgia", Times, serif;
background-color: #f9f5d7;
color: #282828;
line-height: 1.4;
font-weight: 500;
padding-bottom: 12.5em;
}
img {
border-radius: 1em;
}
h1,
h2,
h3,
h4 {
padding-top: 0em;
padding-bottom: 0.5em;
text-align: center;
}
th {
font-weight: normal;
}
p {
padding-bottom: 0.5em;
}
a {
color: #076678;
}
.authorlink {
color: #076678;
text-decoration: none;
}
.paperlink {
font-family: "American Typewriter", "Courier", "Georgia", Times, serif;
color: #9d0006;
text-decoration: none;
}
.extlink {
color: #427b58;
}
.jourlink {
color: #427b58;
text-decoration: none;
}
#topbar {
display: inline-block;
padding: 0 0.25em;
}
div#annoucement {
width: 45em;
}
table#table1 {
text-align: left;
margin-left: 35;
margin-right: auto;
}
ul#course {
list-style: none;
padding-left: 5;
}
/* The navigation bar */
.navbar {
backdrop-filter: blur(3px);
overflow: hidden;
background-color: #3c3836AA;
position: fixed;
/* Set the navbar to fixed position */
top: 0;
/* Position the navbar at the top of the page */
left: 0;
width: 100%;
/* Full width */
text-align: center;
font-family: "Optima", "Georgia", Times, serif;
font-weight: bold;
-webkit-text-size-adjust: 150%;
}
/* Links inside the navbar */
.navbar a {
/* float: left; */
display: inline-block;
color: #f9f5d7;
text-align: center;
padding: 0.625em 1em;
text-decoration: none;
}
/* Change background on mouse-over */
.navbar a:hover {
background: #f9f5d7;
color: #3c3836;
}
/* Main content */
.main {
margin-top: 0.3em;
/* Add a top margin to avoid content overlay */
}
hr {
border-top: dashed 0.1em;
}
.notATable {
display: table;
list-style: none;
padding-left: 5;
-webkit-text-size-adjust: 120%;
/* font-size:16px; */
}
.notATable>li {
display: table-row;
}
.notATable>li>* {
display: table-cell;
padding: 0.125em;
}
.notATable label {
font-weight: bold;
text-align: right;
}
.notATable label:after {
content: '|';
}
#shadowbox {
border: 0em solid;
border-radius: 1em;
padding: 0.6em;
box-shadow: 0.3em 0.3em 1em #7c6f64;
}
hr.style-one {
border: 0;
height: 0.1em;
scroll-margin-top: 2.5em;
background: #282828;
background-image: -webkit-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
background-image: -moz-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
background-image: -ms-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
background-image: -o-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
}
hr.style-zero {
border: 0;
height: 0em;
background: #282828;
background-image: -webkit-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
background-image: -moz-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
background-image: -ms-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
background-image: -o-linear-gradient(left, #f9f5d7, #282828, #f9f5d7);
}
hr.curve {
border: 0;
height: 1em;
background-image: url(curve.png);
background-size: 100% 100%;
background-repeat: no-repeat;
}
.box {
width: 100%;
height: 18em;
background: rgb(220, 220, 220);
margin: 2.5em auto;
}
.effect2 {
position: relative;
}
.effect2:before,
.effect2:after {
z-index: -1;
position: absolute;
content: "";
bottom: 1em;
left: 0.5em;
width: 50%;
top: 80%;
max-width: 18empx;
background: #777;
-webkit-box-shadow: 0 1em 0.5em #777;
-moz-box-shadow: 0 1em 0.5em #777;
box-shadow: 0 1em 0.5em #777;
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
-o-transform: rotate(-3deg);
-ms-transform: rotate(-3deg);
transform: rotate(-3deg);
}
.effect2:after {
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-o-transform: rotate(3deg);
-ms-transform: rotate(3deg);
transform: rotate(3deg);
right: 0.5em;
left: auto;
}
.container {
width: 12.5em;
height: 12.5em;
padding-top: 0em;
margin: 0 auto;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
#container_rotate {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.ball {
width: 0.5em;
height: 0.5em;
margin: 0.5em auto;
border-radius: 3em;
background: #282828;
}
.ball:nth-child(1) {
-webkit-animation: right 1s infinite ease-in-out;
-moz-animation: right 1s infinite ease-in-out;
animation: right 1s infinite ease-in-out;
}
.ball:nth-child(2) {
-webkit-animation: left 1.1s infinite ease-in-out;
-moz-animation: left 1.1s infinite ease-in-out;
animation: left 1.1s infinite ease-in-out;
}
.ball:nth-child(3) {
-webkit-animation: right 1.05s infinite ease-in-out;
-moz-animation: right 1.05s infinite ease-in-out;
animation: right 1.05s infinite ease-in-out;
}
.ball:nth-child(4) {
-webkit-animation: left 1.15s infinite ease-in-out;
-moz-animation: left 1.15s infinite ease-in-out;
animation: left 1.15s infinite ease-in-out;
}
.ball:nth-child(5) {
-webkit-animation: right 1.1s infinite ease-in-out;
-moz-animation: right 1.1s infinite ease-in-out;
animation: right 1.1s infinite ease-in-out;
}
.ball:nth-child(6) {
-webkit-animation: left 1.05s infinite ease-in-out;
-moz-animation: left 1.05s infinite ease-in-out;
animation: left 1.05s infinite ease-in-out;
}
.ball:nth-child(7) {
-webkit-animation: right 1s infinite ease-in-out;
-moz-animation: right 1s infinite ease-in-out;
animation: right 1s infinite ease-in-out;
}
@-webkit-keyframes right {
0% {
-webkit-transform: translate(-1em);
}
50% {
-webkit-transform: translate(1em);
}
100% {
-webkit-transform: translate(-1em);
}
}
@-webkit-keyframes left {
0% {
-webkit-transform: translate(1em);
}
50% {
-webkit-transform: translate(-1em);
}
100% {
-webkit-transform: translate(1em);
}
}
@-moz-keyframes right {
0% {
-moz-transform: translate(-1em);
}
50% {
-moz-transform: translate(1em);
}
100% {
-moz-transform: translate(-1em);
}
}
@-moz-keyframes left {
0% {
-moz-transform: translate(1em);
}
50% {
-moz-transform: translate(-1em);
}
100% {
-moz-transform: translate(1em);
}
}
@keyframes right {
0% {
transform: translate(-1em);
}
50% {
transform: translate(1em);
}
100% {
transform: translate(-1em);
}
}
@keyframes left {
0% {
transform: translate(1em);
}
50% {
transform: translate(-1em);
}
100% {
transform: translate(1em);
}
}
/* Dark Mode */
.dark-mode a {
color: #83a598;
}
.dark_mode_authorlink {
color: #83a598;
}
.dark_mode_paperlink {
color: #fb4934;
}
.dark_mode_extlink {
color: #8ec07c;
}
.dark_mode_jourlink {
color: #8ec07c;
}
.dark_mode_body {
background-color: #1d2021;
color: #fbf1c7;
font-weight: 500;
}
.dark_mode_navbar {
background-color: #ebdbb2;
}
.dark_mode_navbar_a {
color: #f2f2f2;
}
.dark_mode_navbar_a_hover {
background: #3c3836;
color: #f9f5d7;
}
.dark_mode_ball {
background: #fbf1c7;
}
.dark_mode_style-one {
border: 0;
height: 0.1em;
background: #f9f5d7;
background-image: -webkit-linear-gradient(left, #282828, #f9f5d7, #282828);
background-image: -moz-linear-gradient(left, #282828, #f9f5d7, #282828);
background-image: -ms-linear-gradient(left, #282828, #f9f5d7, #282828);
background-image: -o-linear-gradient(left, #282828, #f9f5d7, #282828);
}
.dark_mode_style-zero {
border: 0;
height: 0em;
background: #f9f5d7;
background-image: -webkit-linear-gradient(left, #282828, #f9f5d7, #282828);
background-image: -moz-linear-gradient(left, #282828, #f9f5d7, #282828);
background-image: -ms-linear-gradient(left, #282828, #f9f5d7, #282828);
background-image: -o-linear-gradient(left, #282828, #f9f5d7, #282828);
}
.fade-in {
opacity: 1;
animation-name: fadeInOpacity;
animation-iteration-count: 1;
animation-timing-function: ease-in;
animation-duration: 0.3s;
}
@keyframes fadeInOpacity {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}