Skip to content

Commit

Permalink
Use markdown in <details>
Browse files Browse the repository at this point in the history
  • Loading branch information
Happypig375 authored Feb 13, 2024
1 parent 2b64828 commit f3e5a90
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
3 changes: 1 addition & 2 deletions _pages/Year_1_Course_Guide/seng_guide.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ summary:before {
}

summary {
background-color: aquamarine;
display: flex;
align-items: center;
padding: 5px 0px 5px 20px;
Expand All @@ -32,7 +31,7 @@ details[open] summary:before {
transform: rotate(90deg);
}

details[open] > :not(:first-child) {
details[open] > :not(summary) {
padding: 10px;
opacity: 1;
height: auto;
Expand Down
48 changes: 24 additions & 24 deletions _pages/Year_1_Course_Guide/seng_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ For the latest information, refer to [major requirements](https://prog-crs.hkust
<!-- Edit this file for collapsible displays -->
<link rel="stylesheet" href="seng_guide.css">

<details>
<details markdown="1">
<summary>BIEN</summary>

- [BIEN1010](https://ust.space/review/BIEN1010) (Spring) \[3\] > [CENG1000](https://ust.space/review/CENG1000) (Fall) \[3\]
Expand All @@ -83,47 +83,47 @@ For the latest information, refer to [major requirements](https://prog-crs.hkust
- [BIEN2410](https://ust.space/review/BIEN2410) (Spring) \[3\] (if DSE Biology >= 3 or LIFS1901 in Fall)
- [CENG2220](https://ust.space/review/CENG2220) (Spring) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>CENG</summary>

- [BIEN1010](https://ust.space/review/BIEN1010) (Spring) \[3\] > CENG1600 (Fall) \[3\] > CENG1700 (Fall) \[3\]
- [CENG1500](https://ust.space/review/CENG1500) (Spring) \[3\] > [CENG1000](https://ust.space/review/CENG1000) (Fall) \[3\]
- [CHEM1020](https://ust.space/review/CHEM1020) \[3\]
- [CENG2220](https://ust.space/review/CENG2220) (Spring) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>CEEV</summary>

- [CENG1700](https://ust.space/review/CENG1700) (Fall) \[3\]
- [CENG1500](https://ust.space/review/CENG1500) (Spring) \[3\] > [CENG1000](https://ust.space/review/CENG1000) (Fall) \[3\]
- [CHEM1020](https://ust.space/review/CHEM1020) \[3\]
- [CENG2220](https://ust.space/review/CENG2220) (Spring) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>SUSEE</summary>

- [MECH1902](https://ust.space/review/MECH1902) (Fall) \[3\] > [CENG1700](https://ust.space/review/CENG1700) (Fall) \[3\] = [SUST1000](https://ust.space/review/SUST1000) \[3\]
- ENEG3110 (Fall) \[3\]
- [CHEM1020](https://ust.space/review/CHEM1020) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>CIVL/CIEV</summary>

- [CIVL1100](https://ust.space/review/CIVL1100) \[3\]
- [CIVL2110](https://ust.space/review/CIVL2110) (Spring) \[3\]
- [CHEM1020](https://ust.space/review/CHEM1020) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>COMP/CPEG/DSCT</summary>

Remark: You can access COMP course pages with <https://course.cse.ust.hk/\[insert_course_code\>] **even if you're not enrolled in it**
Expand All @@ -136,9 +136,9 @@ Remark: You can access COMP course pages with <https://course.cse.ust.hk/\[inser
- [COMP2711H](https://ust.space/review/COMP2711H) \[4\] if you can meet the prerequisite
- Remark: WIP

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>CPEG/ELEC</summary>

- [ELEC1100](https://ust.space/review/ELEC1100) \[4\]
Expand All @@ -147,9 +147,9 @@ Remark: You can access COMP course pages with <https://course.cse.ust.hk/\[inser
- [PHYS1114](https://ust.space/review/PHYS1114) \[3\]
- [PHYS1314](https://ust.space/review/PHYS1314) \[3\] (if and only if you are a PHYS god)

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>DA/IEEM</summary>

- one of
Expand All @@ -158,9 +158,9 @@ Remark: You can access COMP course pages with <https://course.cse.ust.hk/\[inser
- [IEDA3230](https://ust.space/review/IEDA3230) (Spring) \[3\]
- [IEDA3300](https://ust.space/review/IEDA3300) (if available, Spring) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>ISDN</summary>

Remark: don't expect good grades in ISDN, and grades won't matter for getting into it since the major is _project-based_
Expand All @@ -173,9 +173,9 @@ Remark: don't expect good grades in ISDN, and grades won't matter for getting in
- [ISDN2602](https://ust.space/review/ISDN2602) (when available) \[3\]
- [ISDN2603](https://ust.space/review/ISDN2603) (Fall) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>AE/MECH</summary>

- one of
Expand All @@ -186,19 +186,19 @@ Remark: don't expect good grades in ISDN, and grades won't matter for getting in
- [MECH1907](https://ust.space/review/MECH1907) (Fall) \[3\]
- [MECH2410](https://ust.space/review/MECH2410) (Spring) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>EVMT</summary>

- [ENVR1170](https://ust.space/review/ENVR1170) (Spring) \[3\]
- [ENVR2010](https://ust.space/review/ENVR2010) (Fall) \[3\]
- [ENVR3310](https://ust.space/review/ENVR3310) (Spring) \[3\]
- [ENVR3420](https://ust.space/review/ENVR3420) (Fall) \[3\]

</details>
</details markdown="1">

<details>
<details markdown="1">
<summary>RMBI</summary>

- [ACCT2010](https://ust.space/review/ACCT2010) \[3\]
Expand All @@ -212,7 +212,7 @@ Remark: don't expect good grades in ISDN, and grades won't matter for getting in
- [MGMT2010](https://ust.space/review/MGMT2010) \[2\]
- [MGMT2130](https://ust.space/review/MGMT2130) \[2\]

</details>
</details markdown="1">

### Additional

Expand Down

0 comments on commit f3e5a90

Please sign in to comment.