File: /var/www/uileague/wp-content/themes/uileague/style.css
/*
Theme Name: UILeague
Author: ormedia
Author URI: https://eftech.site/
Description: UILeague
Version: 1.0
*/
/******************************\
Common
\******************************/
:root {
--style-color: #7BB0F7;
--style-color-light: #BAC3D5;
--header-height: 80px;
--header-height-mobile: 60px;
--header-logo: 48px;
--header-logo-mobile: 32px;
--header-title: 26px;
--header-title-mobile: 16px;
}
html,
body {
padding: 0;
margin: 0;
border: 0;
color: #333;
}
.el-table th.el-table__cell>.cell{
text-overflow: unset;
}
/******************************\
Header
\******************************/
header {
height: var(--header-height);
background: linear-gradient(45deg, var(--style-color), var(--style-color-light));
box-shadow: 0 1px 2px #ccc;
position: fixed;
width: 100%;
z-index: 99;
top: 0;
}
.header-content {
max-width: 1240px;
margin: 0 auto;
padding: 0 20px;
position: relative;
height: 100%;
}
.header-logo {
position: absolute;
display: inline-block;
left: 20px;
top: 50%;
transform: translateY(-50%);
text-decoration: none;
}
.header-logo img {
width: var(--header-logo);
height: var(--header-logo);
}
.header-title {
font-size: var(--header-title);
font-weight: bold;
color: #fff;
vertical-align: middle;
display: inline-block;
padding: 5px;
text-shadow: 0 1px 2px #666;
}
.header-menu {
display: inline-block;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
}
.header-login {
background-color: #fff;
color: var(--style-color);
padding: 8px 24px;
}
.header-login:hover {
background-color: #fff !important;
color: #BAC3D5 !important;
}
@media (max-width:800px) {
.header-logo img {
width: var(--header-logo-mobile) !important;
height: var(--header-logo-mobile) !important;
}
.header-title {
font-size: var(--header-title-mobile);
}
header {
height: var(--header-height-mobile);
}
.mobile-menu-toggle {
font-size: 24px !important;
}
.header-content .mobile-menu {
top: var(--header-height-mobile) !important;
}
}
.header-content .w3-bar {
display: inline-block;
width: auto;
vertical-align: middle;
}
.header-content .w3-bar .w3-bar-item {
padding: 8px 20px;
}
.header-content .w3-bottombar {
color: rgba(255, 255, 255, 0.6);
padding-bottom: 5px;
border-bottom: 2px solid transparent !important;
}
.header-content .w3-bottombar.w3-hover-border-white:hover {
color: #fff;
border-bottom: 2px solid #fff !important;
}
.header-content .w3-bottombar.w3-hover-border-white.menu-active {
color: #fff;
border-bottom: 2px solid #fff !important;
}
.header-content .mobile-menu {
position: absolute;
top: var(--header-height);
width: 100%;
background: linear-gradient(45deg, var(--style-color), var(--style-color-light));
left: 0;
z-index: 1000;
display: none;
}
.header-content .mobile-menu .w3-bar-item {
display: block !important;
width: 100%;
padding: 10px 16px;
}
.mobile-menu-toggle {
font-size: 30px;
color: #fff;
cursor: pointer;
}
/******************************\
Footer
\******************************/
footer {
background-color: #42454D;
box-shadow: 0 -1px 2px #ccc;
}
footer a {
text-decoration: none;
}
.footer-content {
max-width: 1240px;
margin: 0 auto;
padding: 30px 20px;
position: relative;
height: 100%;
color: #fff;
}
.footer-logo {
display: inline-block;
text-decoration: none;
}
.footer-logo img {
width: 48px;
height: 48px;
}
.footer-title {
font-size: 26px;
font-weight: bold;
color: #fff;
vertical-align: middle;
display: inline-block;
padding: 5px;
text-shadow: 0 1px 2px #666;
}
footer .copyright {
margin-top: 60px;
font-size: 14px;
color: rgba(255, 255, 255, 0.6);
}
/******************************\
Body
\******************************/
.body-content {
max-width: 1240px;
margin: 0 auto;
margin-top: var(--header-height);
padding: 20px;
position: relative;
min-height: 70vh;
}
@media (max-width:800px) {
.body-content {
margin-top: var(--header-height-mobile) !important;
}
}
.banner-panel {
width: 100%;
position: relative;
}
.banner-panel:before {
content: " ";
display: block;
padding-bottom: 33.33333%;
}
.banner-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #000;
}
.banner-container .swiper-container {
max-height: unset;
height: 100%;
}
.mySlides {
display: block;
}
.banner-ctrl .swiper-pagination-bullet {
width: 10px;
height: 10px;
background: #ffffff;
display: inline-block;
margin: 0 5px;
border-radius: unset;
opacity: 0.4;
border-radius: 10px;
outline: none;
}
.banner-ctrl .swiper-pagination-bullet-active {
opacity: 1;
}
.banner-content-container {
position: absolute;
text-align: center;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.banner-title {
font-size: 40px;
font-weight: normal;
color: #fff;
display: inline-block;
padding: 10px 20px;
background: rgba(214, 176, 114, 0.5);
}
.banner-ctrl {
position: absolute;
z-index: 1;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
}
.section-title {
font-size: 20px;
font-weight: bold;
color: #333;
border-left: 4px solid var(--style-color);
line-height: 1;
padding-left: 10px;
}
/******************************\
VUE
\******************************/
[v-cloak] {
display: none;
}
#app {
color: #333;
max-width: 1200px;
margin: 0 auto;
}
.team-logo-mini {
width: 24px;
display: inline;
vertical-align: middle;
border-radius: 4px;
-webkit-box-shadow: 0 1px 3px #ccc;
box-shadow: 0 0px 2px #ccc;
border: 1px solid #ccc;
}
.team-pos-mini {
width: 24px;
display: inline;
vertical-align: middle;
}
.el-table thead {
color: #333;
}
.pagination {
padding: 30px 0;
}
.el-pagination {
text-align: center;
}
.el-table th.el-table__cell>.cell {
word-break: normal;
line-height: 1.2;
padding: 5px;
}
.el-table th.el-table__cell {
background: #F0F2F5;
}
.vs {
font-size: 30px;
font-weight: bold;
color: #F65C22;
line-height: 36px;
padding-right: 12px;
text-shadow: 0 1px 2px #333;
}
.match-item {
position: relative;
padding: 20px 10px 10px 10px;
border: 1px solid #BAC3D5;
box-shadow: 0 1px 2px #ccc;
cursor: pointer;
display: block;
text-decoration: none;
}
.match-item:hover {
background: #ecf5ff;
}
.match-item-sep {
width: 100%;
height: 1px;
background-color: #BAC3D5;
margin: 20px 0;
}
.match-item-team {
font-weight: bold;
padding-right: 5px;
font-size: 20px;
vertical-align: middle;
}
.match-status {
position: absolute;
right: 0;
top: 0;
padding: 5px;
line-height: 1.2;
height: auto;
border-radius: 0;
border-bottom-left-radius: 10px;
}
.match-item-label {
color: #666;
}
.match-item-pts {
font-size: 20px;
font-weight: bold;
}