
/* .:class指定　#:id指定	*/

:root,

/* dark mode */

.is-theme-light {
	filter: hue-rotate(0deg);
}
.is-theme-dark {
	filter: invert(0.85) hue-rotate(180deg);
}
.is-theme-dark img, picture, video {
	filter: invert(1.3) hue-rotate(-180deg);
}


/* line num text */
.one-line-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.two-line-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 行数 */
}

/* modal fullscreen */
.modal.modal-fullscreen .modal-dialog {
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	max-width: none; 
  }
  
  .modal.modal-fullscreen .modal-content {
	height: auto;
	height: 100vh;
	border-radius: 0;
	border: none; 
  }
  
  .modal.modal-fullscreen .modal-body {
	overflow-y: auto; 
  }


/* footer */
body>.header {
	background-color: white;
}
  
/* nav */
.nav-link {
	color: whitesmoke;
}
.nav-item>a:hover {
	color: lime;
}

#navbarSupportedContent>ul>li>a.active
{
	color: lime;
	text-decoration: underline;
}

/* card-columns */
@media screen and (max-width:1000px) { 
	.card-columns {
		column-count: 1;
	}
}
@media screen and (min-width:1001px) { 
	.card-columns {
		column-count: 2;
	}
}

.card-header {
	font-size: 12px !important;
	padding: 5px !important;
}
.card-title {
	margin-bottom: 5px !important;
}
.card-body {
	padding: 5px !important;
}
.card-body>.card-title {
	font-weight: bold !important;
	font-size: 14px !important;
}
.card-body>.card-text {
	font-size: 12px !important;
}

.card-footer {
	font-size: 12px !important;
	padding: 5px !important;
}

/* for button dark-mode */
#day-night {
	position:fixed;
	bottom:19px;
	right:10px;
}

/* for page-top button */
#page-top {
	position:fixed;
	bottom:50px;
	right:10px;
}

/* footer */
html, body { 
	height: 100%;
	scroll-behavior: smooth;
}

body>.navbar {
	top: 0px;
} 

body>.footer {
  background-color: silver;
  position: sticky;
  top: 100vh;
}
