|
- #nav{
- display: flex;
- align-items: center;
- justify-content: space-between;
- background-color: white;
- /* padding: 20px 80px; */
- box-shadow: 0 5px 15px rgba(0,0 0,0,0.06);
- position:fixed;
- top: 0px;
- width: 100%;
- z-index: 9999;
- border-bottom: 3px solid #0C489E;
- }
- #navbar div{
- display: flex;
- align-items: center;
- justify-content: center;
-
- }
- #navbar div li{
- list-style: none;
- padding: 0 20px;
- position: relative;
- }
- #navbar div li a{
- text-decoration: none;
- font-size: 1.2rem;
- font-weight: 600;
- font-family: 微軟正黑體;
- color: black;
- transition: 0.3s ease-in-out;
- }
- #navbar div li a:hover{
- color: #0C489E;
- }
- #navbar div li a:hover::after,
- #navbar div li a:focus::after{
- content: "";
- width: 80%;
- height: 2px;
- background:#0C489E;
- position: absolute;
- bottom: 3px;
- left: 20px;
- }
- #navbar div li ul {
- background: white;
- visibility: hidden;
- opacity: 0;
- min-width: 18rem;
- position: absolute;
- /* transition: all 0.5s ease; */
- left: 0;
- display: none;
- padding-left: 0px;
- /* border: 1px solid #0C489E; */
- background-clip: padding-box;
- border: 1px solid rgba(0,0,0,.15);
- border-radius: 0.25rem;
- }
- #navbar div li:hover > ul,
- #navbar div li:focus-within > ul,
- #navbar div li ul:hover,
- #navbar div li ul:focus {
- visibility: visible;
- opacity: 1;
- display: block
- }
- #systemTitle{
- text-decoration: none;
- font-size: 1.3rem;
- font-weight: 600;
- color: #0C489E;
- transition: 0.3s ease-in-out;
- font-family: 微軟正黑體;
- text-align: center;
- }
- #mobileTitle{
- text-decoration: none;
- font-size: 1.2rem;
- font-weight: 600;
- color: #0C489E;
- transition: 0.3s ease-in-out;
- font-family: 微軟正黑體;
- text-align: center;
- }
- #sidebar{
- font-size: 1.3rem;
- font-weight: 600;
- font-family: 微軟正黑體;
- }
- #sidebartop{
- align-items: center;
- justify-content: center;
- padding: 0;
- display: flex;
- }
- #sidebarbottom{
- align-items: center;
- justify-content: center;
- padding: 0;
- display: flex;
- }
- #sidebar li{
- list-style: none;
- padding: 0 20px;
- position: relative;
- text-align: left;
- }
- #sidebar li a{
- text-decoration: none;
- font-size: 1.3rem;
- font-weight: 600;
- font-family: 微軟正黑體;
- color: black;
- transition: 0.3s ease-in-out;
- }
- #sidebar li a:hover{
- color: #0C489E;
- }
- #sidebar div li ul {
- background: white;
- visibility: hidden;
- opacity: 0;
- min-width: 16rem;
- position: absolute;
- /* transition: all 0.5s ease; */
- left: 0;
- display: none;
- padding-left: 0px;
- /* border: 1px solid #0C489E; */
- }
- #sidebar div li:hover > ul,
- #sidebar div li:focus-within > ul,
- #sidebar div li ul:hover,
- #sidebar div li ul:focus {
- visibility: visible;
- opacity: 1;
- display: block
- }
|