Files
dph-tycg-event/resources/sass/app.scss
2025-06-13 12:09:50 +08:00

554 lines
9.2 KiB
SCSS

// Fonts
@import url('https://fonts.bunny.net/css?family=Nunito');
// Variables
@import 'variables';
// Bootstrap
@import 'bootstrap/scss/bootstrap';
body {
background-color: #88BBE5;
}
#app {
// background-image: url(images/bg-cloud.png), linear-gradient(to bottom, rgba(253, 247, 216, 1), transparent 100%);
}
.navbar {
margin-top:10px;
min-height: 70px;
}
.navbar-toggler {
position: absolute;
top: 1em;
border: none;
}
.navbar-toggler:focus {
border: none;
}
.nav-item {
background-color: #f9fae0;
display:inline-block;
text-align: center;
font-size: 1.6em;
font-weight: 700;
}
.nav-item .dropdown-menu {
background-color: #f9fae0;
}
.dropdown-item {
font-size: 1.6em;
font-weight: 700;
text-align: center;
}
.navbar-nav-2 {
display: inline-block;
width: 100%;
margin: 0 auto;
padding-left: 0px;
}
.nav-item-2 {
display:inline-block;
text-align: center;
font-weight: 700;
position: relative;
background-image: url('images/item-bg.png');
background-repeat: no-repeat;
width: 130px;
height: 45px;
line-height: 45px;
margin-left: 8px;
font-size: 1.2em;
background-size: contain;
padding-left: 18px;
}
.nav-item-2 .nav-link {
color: #fff;
}
.navbar-nav-3 {
display: inline-block;
position: relative;
width: 768px;
margin: 0 auto;
padding-left: 0px;
}
.nav-item-3 {
display:block;
text-align: center;
font-weight: 700;
position: relative;
background-image: url('images/item-bg.png');
background-repeat: no-repeat;
width: 130px;
height: 45px;
line-height: 45px;
margin: 0 auto;
font-size: 1.2em;
background-size:contain;
}
.nav-item-3 .nav-link {
color: #fff;
}
.main-area {
width: 100%;
background-color: #f9fae0;
display:inline-block;
border-radius: 3px;
padding: 2em 2em;
background-image: url(images/content-bg.png);
}
.main-area-space {
background-color:transparent;
position: relative;
margin: 10px;
}
.main-area-title-block {
margin: 0 auto;
position: relative;
background-color: #72bad7;
border-radius: 3px;
width: 212px;
height: 70px;
line-height: 70px;
text-align: center;
font-size: 2em;
font-weight: 700;
text-decoration: underline;
}
.main-area-2 {
background-color:#72bad7;
}
.content_img {
width: 100%;
}
.content_img_btn{
width: 23%;
}
.footer {
background-image: none;;
background-color: transparent;
height: 2em;
}
.main-area p {
font-size: 1.4em;
}
.main-area li {
font-size: 1.4em;
}
.main-area label {
font-size: 1.4em;
}
.main-area table {
font-size: 1.4em;
}
.location-menu {
max-width: 400px;
}
.location-menu img {
width: 100px;
}
.top-bar {
margin-top: 0px;
width: 100%;
height: 240px;
}
.top-bar-inner {
height:240px;
margin:0 auto;
}
.top-bar-logo {
cursor: pointer;
float: left;
width: 100%;
height: 120px;
background-color: #f0478c;
background-repeat:no-repeat;
background-image: url(images/logo_350x120.png);
background-position: center;
background-size: contain;
}
.top-bar-banner {
cursor: pointer;
float: right;
width: 100%;
height: 120px;
background-repeat:no-repeat;
background-position: center;
background-image: url(images/top-banner_600x120.png);
background-size: cover;
}
.menu-bar {
margin-top: 10px;
width: 100%;
}
.menu-bar-inner {
display: flex;
justify-content:space-around;
align-items: center;
width: 956px;
height:60px;
margin:0 auto;
font-size: 1.4em;
padding-left: 20px;
}
.menu-bar-item {
height: 58px;
line-height: 58px;
font-size: 1em;
background-color: transparent;
/*background-image: url('images/item-bg.png');*/
background-repeat: no-repeat;
background-size: contain;
}
.menu-bar-item-1 {
width: 398px;
background-image: url('images/btn-1.png');
}
.menu-bar-item-2 {
width: 398px;
background-image: url('images/btn-2.png');
}
.menu-bar-item-3 {
width: 398px;
background-image: url('images/btn-3.png');
}
.menu-bar-item-4 {
width: 398px;
background-image: url('images/btn-4.png');
}
.menu-bar-item > a {
text-indent: -9999px;
white-space: nowrap;
text-decoration: none;
}
.footer-bar {
width: 100%;
height: 50px;
}
.footer-bar-inner {
display: flex;
justify-content:center;
align-items: center;
width: 100%;
height:30px;
margin:0 auto;
font-size: 1.4em;
background-color: #DDE7EB;
}
.footer-bar-item {
margin-left: 5px;
margin-right: 5px;
font-size: 0.8em;
}
.main-content {
margin-top: 10px;
width: 100%;
}
.main-content-inner {
width: 100%;
margin:0 auto;
}
.no-number-ol > li {
list-style-type: none;
text-indent: -2em;
}
.nav-item-3-container {
display: none;
}
.preview {
border: solid 1px gray;
margin-top: -15px;
}
@media (min-width: 576px) {
.container-sm, .container {
max-width: none;
padding:0;
}
}
@media (min-width: 768px) {
.nav-item-3-container {
display: block;
margin-bottom: 10px;
}
.container-sm, .container {
}
.top-bar {
margin-top: 20px;
width: 100%;
height: 120px;
}
.top-bar-inner {
width: 768px;
margin:0 auto;
}
.top-bar-logo {
width: 280px;
background-size: contain;
background-position: center;
}
.top-bar-banner {
width: 480px;
}
.navbar-nav {
width: 768px;
margin: 0 auto;
}
.nav-item {
position: relative;
height: 58px;
line-height: 58px;
font-size: 1em;
background-color: transparent;
/*background-image: url('images/item-bg.png');*/
background-repeat: no-repeat;
background-size: contain;
}
.nav-btn1 {
width: 398px;
background-image: url('images/btn-1.png');
}
.nav-btn2 {
width: 398px;
background-image: url('images/btn-2.png');
}
.nav-btn3 {
width: 398px;
background-image: url('images/btn-3.png');
}
.nav-btn4 {
width: 398px;
background-image: url('images/btn-4.png');
}
.nav-btn5 {
display:none;
}
.nav-btn6 {
display:none;
}
.nav-btn7 {
display:none;
}
.nav-btn8 {
display:none;
}
.main-btns .nav-item>a{
text-indent: -9999px;
white-space: nowrap;
text-decoration: none;
}
.nav-item .nav-link {
color: #fff;
}
.main-area {
width: 700px;
}
.navbar-nav-2 {
width: 768px;
margin: 0 auto;
}
.nav-item-2 {
width: 180px;
height: 70px;
line-height: 70px;
margin-right: 28px;
font-size: 1.6em;
padding-left: 18px;
}
.nav-item-3 {
width: 150px;
height: 60px;
line-height: 60px;
font-size: 1.6em;
background-size: contain;
}
.content_p {
text-align: center;
}
.content_img {
width:auto;
max-width: 600px;
}
.content_img_btn{
width: 96px;
}
.game-pos-bar li {
width: 60px;
height: 60px;
margin-right: 20px;
margin-top:20px;
margin-bottom: 0px;
}
.game-pos-bar-prog {
background-size: 530px;
}
.cancer-menu {
max-width: 600px;
}
.location-menu {
max-width: 700px;
}
.main-content-inner {
width: 768px;
margin:0 auto;
}
.footer-bar-inner {
max-width: 768px;
}
}
@media (min-width: 1366px) {
.top-bar {
margin-top: 20px;
width: 100%;
height: 120px;
}
.top-bar-inner {
width: 956px;
margin:0 auto;
}
.top-bar-logo {
width: 350px;
}
.top-bar-banner {
width: 600px;
}
.navbar-nav {
width: 956px;
margin: 0 auto;
padding-left: 20px;
}
.nav-item {
position: relative;
height: 58px;
line-height: 58px;
font-size: 1em;
background-color: transparent;
/*background-image: url('images/item-bg.png');*/
background-repeat: no-repeat;
background-size: contain;
}
.nav-btn1 {
width: 398px;
}
.nav-btn2 {
width: 398px;
}
.nav-btn3 {
width: 398px;
}
.nav-btn4 {
width: 398px;
}
.nav-item .nav-link {
color: #fff;
}
.main-area {
width: 1220px;
}
.navbar-nav-2 {
width: 100%;
margin: 0 auto;
padding-left: 100px;
}
.navbar-nav-3 {
width: 768px;
margin: 0 auto;
}
.content_img {
width:auto;
max-width: 553px;
}
.content_img_btn{
width: 128px;
}
.cancer-menu {
max-width: 768px;
}
.location-menu {
max-width: 900px;
}
.main-content-inner {
width: 956px;
margin:0 auto;
}
.footer-bar-inner {
max-width: 956px;
}
}