Newer
Older
cafe-2022 / aoi / cafe3_1.css
@SUGAWARA Aoi SUGAWARA Aoi on 12 Jul 2022 2 KB tuika
/*名前*/
header h1{
    text-align: center; /*真ん中にする*/
}

/*ナビゲーション*/
nav.iroiro{
    text-align: center; /*真ん中にする*/
    font-size: 15px; /*フォントの大きさ*/
    line-height: 2em; /*行の高さを指定*/
}

nav.iroiro ul{
    margin-bottom: 5em; /*余白*/
    padding: 0; /*余白*/
}

nav.iroiro ul li{
    list-style: none; /*箇条書きの点をなくす*/
    display: inline-block; /*横に並ぶ inlineとblockの中間*/
    width: 10%; /*隣同士の間隔*/
    min-width: 85px; /*幅の最低値*/
}

nav.iroiro ul li a{
    text-decoration: underline; /*テキストに下線引く*/
    color: saddlebrown; /*テキスト 色指定*/
}

nav.iroiro ul li a:hover{
    color: cadetblue; /*カーソルのせたとき,テキスト 色指定*/
}

body{
    background: antiquewhite;
    color: saddlebrown;
}

h1{
    color: saddlebrown;
    text-align: center;
}

h2{
    color: cadetblue;
}

ul{
    list-style:none;
    padding-left: 0;
}

nav.main_nav{
    height: 400px;
    width: 100%;
    margin: 0 auto;
}

nav.main_nav{
    width: 50%;
    min-width:700px;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

nav.main_nav li{
    display: inline-block;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    position: relative;
    background-color: white;
    margin: 0 10px;
}

nav.main_nav li:hover{
    background-color: mintcream;
}

nav.main_nav li:after{
    content: "";
    display: block;
    position: absolute;
    bottom: 25px;
    right: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    border-right: 3px solid;
    border-bottom: 3px solid;
    transform: rotate(45deg);
}

nav.main_nav a{
    color: saddlebrown;
    font-size: 1.3rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 50%;
    text-align: center;
    padding: 80px 0 90px;
    text-decoration: none;
}

.shopname{
    margin-left: 1em;
    border-left-style: solid;
    border-width: thick;
    padding-left: 5px;
}

.shop{
    border-top-style: solid;
    border-bottom-style: solid;
    padding: 5px;
    text-align: center;
}

.shopkinds{
    overflow: hidden;
    padding: 10px 0;
    text-align: center;
}

.shopkinds li{
    background-color: tan;
    display: inline-block;
    height: 300px;
    width: 400px;
    position: relative;
}

.shopkinds li:hover{
    background-color: mintcream;
}

.shopkinds a{
    color: saddlebrown;
    font-size: 1.3rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 125px 0 125px;
    text-decoration: none;
}

.kinds{
    border-top-style: solid;
    border-bottom-style: solid;
    padding: 5px;
    text-align: center;
}

.place{
    border-top-style: solid;
    border-bottom-style: solid;
    padding: 5px;
    text-align: center;
}