﻿@CHARSET "UTF-8";
/**/
/* body{
	background-color: Navajowhite !important;
} */
.main{
	background-color: Navajowhite;
	padding: 10px 5px !important;
}
.item{
	padding-left:8px;
	border:2px solid #ff8040; 
	border-style:none none none solid;
}
article img{display: block;max-width: 100%;height: auto;border: 1px solid gray;margin:10px 2px;}
article p{text-indent:2em;}
.banner-home{background: url('../img/banner-sea.jpg'); background-size:100% 100%;}
.banner-tutorials{background: url('../img/banner-blackboard.jpg'); background-size:100% 100%;}
.login-bg{background: url('../img/banner-original.jpg'); background-size:cover;}
/*常用颜色定义 格式 如 color-val */
.color-red{color:red;}
.color-green{color:green;}
/*解决bootstrap4 file input browse的英文问题 */
.custom-file-input:lang(zh) ~ .custom-file-label::after {
  content: "浏览";
}
 
.custom-file-label::after {
  content: "浏览";
}
/*表格不换行 */
.cell-nowrap {
    white-space: nowrap;
}
/*右上角45度标签*/
.right-top-45 {
	position: relative;
	overflow: hidden;
}

.right-top-45 .right-top-45-corner  {
	width: 100px;
	height: 100px;
	position: absolute;
	/* background: green; */
	top: -50px;
	right: -50px;
	transform: rotate(45deg);
}

.right-top-45 .right-top-45-corner .right-top-45-text {
	position: absolute;
	bottom: 0;
	display: block;
	width: 100px;
	text-align: center;
	color: white;
	background-color: #00801C;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A),
		to(#8EBF45));
	background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45);
	background-image: -moz-linear-gradient(top, #BFDC7A, #8EBF45);
	background-image: -ms-linear-gradient(top, #BFDC7A, #8EBF45);
	background-image: -o-linear-gradient(top, #BFDC7A, #8EBF45);
	-webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}
.option:hover{background-color:#ddd;} 
/*
 * for simditor
 */
article blockquote{
	border-left: 6px solid #ddd;
    padding: 5px 0 5px 10px;
    margin: 15px 0 15px 15px;
}
article pre{
	padding: 10px 5px 10px 10px;
    margin: 15px 0;
    display: block;
    line-height: 18px;
    background: #F0F0F0;
    border-radius: 3px;
    font-size: 13px;
    font-family: 'monaco', 'Consolas', "Liberation Mono", Courier, monospace;
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
}
article table{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 15px 0;
}
article table td,article table th{
	
	min-width: 40px;
	height: 30px;
	border: 1px solid #ccc;
	vertical-align: top;
	padding: 2px 4px;
	text-align: left;
	box-sizing: border-box;

}	
.navi-img{
	max-width: 256px;
	max-height: 256px;
}