Template:曲目定数/styles.css

来自Rotaeno中文维基
< Template:曲目定数
Flazer静澜讨论 | 贡献2022年7月26日 (二) 23:09的版本 (创建页面,内容为“.wikitable{ min-width:542px; } @media all and ( max-width: 720px ) { .wikitable{ min-width:100%; } } .Grid { display: flex; } @media all and ( min-width: 720px ) { .Grid { width: 400px; } .Grid-cell { font-family: sans-serif; line-height: 1.6; direction: ltr; font-size: 100%; color: #222; border-collapse: collapse; text-align: center; border: 1px solid #a2a9b1; padding: 0.2em 0.4em; flex-basis:100px; } .Grid-cell-title { font-family…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.wikitable{
	min-width:542px;
}
@media  all and ( max-width: 720px ) {
.wikitable{
	min-width:100%;
}	
}

.Grid {
  display: flex;
 
}

@media  all and ( min-width: 720px ) {
.Grid {
	  width: 400px;
	}
	
.Grid-cell {
	font-family: sans-serif;
	line-height: 1.6;
	direction: ltr;
	font-size: 100%;
	color: #222;
	border-collapse: collapse;
	text-align: center;
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
	flex-basis:100px;
}

.Grid-cell-title {
	font-family: sans-serif;
	line-height: 1.6;
	direction: ltr;
	font-size: 100%;
	color: #222;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
	background-color: #eaecf0;
	text-align: center;
	flex-basis:100px;
}
}

@media  all and ( max-width: 720px ) {
	
.Grid-cell {
  flex: 1;
  text-align: center;
  
  color: #202122;
  font: inherit;
  border-collapse: collapse;
  border-spacing: 3px;
  text-align: center;
  line-height: 1.5em;
  font-size: 100%;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #eaecf0;
  padding: 7px 10px;
  flex: 1 0;
}

.Grid-cell-title {
  flex: 1;
  text-align: center;
  
  color: #202122;
  font: inherit;
  border-collapse: collapse;
  border-spacing: 3px;
  line-height: 1.5em;
  font-size: 100%;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #eaecf0;
  padding: 7px 10px;
  flex: 1 0;
  background-color: #f0f0f0;
  text-align: center;
  font-weight: normal;
  width: 6em;
}

}