123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- /* 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 */
|