/* CSS Reset */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
ul,
ol,
li,
form,
label,
fieldset,
legend {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
box-sizing: border-box;
}
/* Additional Resets */
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
color: inherit;
}
/* CSS Reset End */
:root {
--main-color: #C39F68;
--sub-color: #E9F1F4;
--brown: #3E3A39;
}
* {
font-family: "Noto Sans TC", sans-serif;
}
html {
scroll-behavior: smooth;
}
input:focus-visible {
outline: 2px solid var(--sub-color);
}
@media (min-width: 1920px) {
.v-container {
max-width: 1300px !important;
}
}
@media (max-width: 1300px) {
.v-container {
padding: 15px 30px !important;
}
}
.search {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: end;
position: relative;
}
.search span {
position: relative;
}
.search input {
padding: 5px 15px;
border-radius: 100px;
border: 1px solid #ccc;
background-color: #fff;
}
.search button {
position: absolute;
right: 10px;
left: 0;
top: 3px;
}
.search button img {
width: 25px;
position: absolute;
top: 2px;
right: 0;
}
.search .error {
position: absolute;
bottom: -30px;
}
.college-bg-img {
width: 100vw;
background-image: url("@/assets/img/college-group/background.png");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.college-banner {
margin-top: 25px;
display: flex;
justify-content: center;
position: relative;
right: 0;
left: 0;
z-index: 1;
}
.college-banner img {
width: 100%;
}
.college-banner h1 {
position: absolute;
top: 45%;
right: 3%;
font-size: 40px;
font-weight: 500;
color: #fff;
text-shadow: 2px 2px 10px #555555;
word-wrap: break-word;
}
@media (max-width: 1200px) {
.college-banner h1 {
right: 5%;
font-size: 36px;
}
}
@media (max-width: 960px) {
.college-banner h1 {
font-size: 24px;
}
}
@media (max-width: 600px) {
.college-banner h1 {
font-size: 20px;
top: 45%;
}
}
.college-content {
padding: 0;
width: 1300px !important;
position: relative;
}
@media (max-width: 600px) {
.college-content {
width: 85%;
}
}
.college-content .main-block {
padding: 150px 80px;
margin-top: -20%;
background-image: url("@/assets/img/course/background.png");
background-size: cover;
position: relative;
left: 0;
right: 0;
z-index: 10;
}
@media (max-width: 960px) {
.college-content .main-block {
padding: 100px 50px;
margin-top: -22%;
background-position: 0 1vw;
}
}
@media (max-width: 600px) {
.college-content .main-block {
padding: 50px 20px;
}
}
.college-content .main-block h2 {
font-size: 30px;
font-weight: 500;
line-height: 32px;
margin-left: 10px;
}
@media (max-width: 960px) {
.college-content .main-block h2 {
font-size: 24px;
}
}
@media (max-width: 600px) {
.college-content .main-block h2 {
margin-left: 0;
margin-bottom: 50px;
}
}
.college-content .main-block .title {
padding: 80px 0;
}
@media (max-width: 960px) {
.college-content .main-block .title {
padding: 50px 0;
}
}
.college-content .main-block .v-breadcrumbs {
position: relative;
z-index: 100;
justify-content: flex-start;
}
@media (max-width: 600px) {
.college-content .main-block .v-breadcrumbs {
justify-content: center;
}
}
.main-card {
letter-spacing: 1px;
border-radius: 10px;
box-shadow: 2px 2px 10px #aaaaaa;
background-color: var(--sub-color);
}
.main-card .card-title {
height: 80px;
padding: 15px;
margin-bottom: 15px;
display: flex;
justify-content: center;
align-items: center;
border-bottom: 2px solid #fff;
}
.main-card .card-title h3 {
font-size: 18px;
font-weight: 400;
text-align: center;
line-height: 24px;
}
.main-card ul {
padding: 20px;
}
.main-card .card-title h3,
.main-card .card-info p {
line-height: 22px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
line-break: after-white-space;
}
.main-card .card-info {
padding: 0 15px;
}
.main-card .card-info .cover-img {
height: 220px;
width: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.main-card .card-info span {
height: 60px;
}
.main-card .card-info span p {
line-height: 20px;
}
.favorites-btn {
position: absolute;
bottom: 10px;
right: 10px;
}
.progress-item {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
}
@media (max-width: 960px) {
.tag-btn {
margin: auto !important;
max-width: 300px;
flex-direction: column;
}
}
.tag-btn .item {
display: flex;
align-items: center;
justify-content: center;
color: #bda2b5;
border: 1px solid #bda2b5;
border-radius: 20px;
text-align: center;
transition: all 0.3s;
}
.tag-btn .item:hover {
color: #bb8bad;
border-color: #bb8bad;
}
.tag-btn .item a {
width: 100%;
display: block;
}/*# sourceMappingURL=style.css.map */