view css/main.css @ 3777:99838c72c843

header img width=100%
author Fumichan <c116092@h.koeki-u.ac.jp>
date Fri, 21 Dec 2018 14:26:47 +0900
parents a7ee5dd55b32
children 67c8af88212c
line wrap: on
line source

/* SKIP - Shonai Koeki Information Project - main style sheet */

body{
    margin:0;
    padding:0;
    background-color:#FFFFCC;
}

header{
	padding-top: 50px;
	text-align: center;
	margin: 0 auto;
}

header img{
	width: 100%;
}

/*.nav-box{
	background-color:#FFFFCC;
  }*/

nav{
	position: relative;
	border-bottom: 5px solid #777;
	width: 100%;
	top: 0;
	z-index: 100;
}

nav ul{
	position: absolute;
	left:10%;
	display: table;
	margin: 0 auto;
	padding: 0;
	width: 80%;
	text-align: center;
}

nav ul li{
	display: table-cell;
	width: 50px;
}

nav ul li a{
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px 0;
	text-decoration: none;
	color: #777;
}

nav ul li.current{
	font-weight: bold;
	border-top: 5px solid #00B0F0;
}

nav ul li.current a{
	color: #00B0F0;
}

nav ul li a:hover{
	color: #0089BB;
	background-color: #FBFBDD;
}

nav ul li:hover{
	border-top: 5px solid #F8E750;
} 

.contents{
	margin: 60px 10px 60px 10px;
}

h2 {
     padding: .5em .75em;
     background-color: #d3e6a8;
     border-left: 8px solid #0a6641;
}

.explanation {
	 background: #fff;
	 border: 5px double #0a6641;
	 margin: 20px 50px; padding: 10px 5px;
}

p.mimg {
  float: left;
  margin-right: 2px;
  margin-bottom: 1px;
}

a.tlink{
    text-align: right;
    background-color: white;
    color: black;
}

footer{
	font-size: 80%;
	width: 100%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #313131;
}

footer p.copyright{
	color: #fff;
	/*letter-spacing: 5px;*/
	/*font-style: normal;*/
}

yatex.org