Line 304: | Line 304: | ||
justify-content: space-between; | justify-content: space-between; | ||
cursor: pointer; | cursor: pointer; | ||
+ | } | ||
+ | @media screen and (min-width:601px) and (max-width:860px) { | ||
+ | .switchtab-area { | ||
+ | font-size: 1.2em; | ||
+ | } | ||
+ | } | ||
+ | @media screen and (max-width:600px) { | ||
+ | .switchtab-area { | ||
+ | font-size: 1em; | ||
+ | } | ||
} | } | ||
.switchtab br { | .switchtab br { |
Revision as of 12:11, 16 October 2021
body {
font-family:'Nunito Sans',Arial, sans-serif; font-size: 1rem;
} a {
transition: 0.35s;
} main a {
text-decoration: none;
} .myp li {
list-style: none; margin: 0.5em auto;
} .myp li::before { content:"- "} button {
transition: 0.2s;
} em {
font-style: normal; font-weight: bold;
} .myp {
font-size: 1.1em; line-height: 1.7; margin: 3em 0;
} .myp br {
display: block; content: ""; height: 1.4em;
} img.h180 {
display: block; max-height: 180px; max-width: 100%;
} img.h720 {
display: block; max-height: 720px; max-width: 100%;
}
.page-top {
padding-top: 120px; margin-left: 3vw; margin-right: 3vw; margin-bottom: 30px; padding-bottom:2em; border-bottom-left-radius: 5vw; border-bottom-right-radius: 5vw; background-color: #DCF4BD;
} .page-title{
margin-left: 10%; font-family: 'Arima Madurai', sans-serif; font-weight: bold; font-size: 3rem;
} /* .page-title::before{ // 画像入れるためのやつ
content: ; display: inline-block; width: 50px; height: 50px; background-image: url(../assets/images/logoside1.png); background-repeat: no-repeat; background-size: contain; vertical-align: middle;
} */ /* .header-image-flower{
background: url(../assets/images/flower.jpg) no-repeat center 50%; height: 200px;
} */ .resized-to-parent {
width: 100%;
}
.quote {
padding-left: 7%; border-left: solid gray 5px; line-height: 1.7; margin: 3em 0;
}
.myh1-plain ,.myh1-green, .myh1-pink, .myh1-yellow{
text-align: left; font-size: 2.325rem; font-family: 'Arima Madurai', cursive; font-weight: bold; margin-top: 2em; margin-bottom: 0.5em; margin-left: 0;
display: inline-block;
position: relative; padding: .25rem; line-height: 1.2em;
} .myh1-plain:first-child ,.myh1-green:first-child, .myh1-pink:first-child, .myh1-yellow:first-child {
margin-top: 0.5em;
} .centerh1-green {
font-size: 2.25rem; font-family: 'Arima Madurai', cursive; font-weight: bold; margin-top: 30px; margin-bottom: 30px; margin-left: 15%; margin-right: 15%;
text-align: center; position: relative; padding: .25rem .25rem;
} /* .myp+.myh1-plain, .myp+.myh1-green, .myp+.myh1-pink, .myp+.myh1-yellow {
margin-top: 50px;
} */ .myh2 {
text-align: left; font-size: 1.5rem; font-weight: bold; margin-top: 2.5em; margin-bottom: 0.75em;
} .box>.myh2 {
margin-top: 0.75em;
} @media screen and (max-width:593px) {
.page-title { font-size: 2rem; } .myp { font-size: 1rem; line-height: 1.4; margin: 15px 0px; } .myh1-plain ,.myh1-green, .myh1-pink, .myh1-yellow { font-size: 1.5rem; } .myh2 { font-size: 1.25rem; }
} .myh1-green+.myh2, .myh1-pink+.myh2, .myh1-plain+.myh2, .myh1-yellow+.myh2 {
margin-top: 0.5em;
} /* .myh2+.myp {
margin-top:10px;
} */ .myh1-green:after {
position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; content: ; border-radius: 3px; background-image: -webkit-gradient(linear, right top, left top, from(rgba(97,190,54,0)), to(rgb(97,190,54))); background-image: -webkit-linear-gradient(right,rgba(97,190,54,0) 0%, rgb(97,190,54) 100%); background-image: linear-gradient(to left,rgba(97,190,54,0) 0%, rgb(97,190,54) 100%);
} .myh1-pink:after {
position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; content: ; border-radius: 3px; background-image: -webkit-gradient(linear, right top, left top, from(rgba(241,90,34,0)), to(rgb(241,90,34))); background-image: -webkit-linear-gradient(right,rgba(241,90,34,0) 0%, rgb(241,90,34) 100%); background-image: linear-gradient(to left,rgba(241,90,34,0) 0%, rgb(241,90,34) 100%);
} /*211, 0, 116*/ .myh1-yellow:after {
position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; content: ; border-radius: 3px; background-image: -webkit-gradient(linear, right top, left top, from(rgba(218, 208, 70,0)), to(rgb(218, 208, 70))); background-image: -webkit-linear-gradient(right,rgba(218, 208, 70,0) 0%, rgb(218, 208, 70) 100%); background-image: linear-gradient(to left,rgba(218, 208, 70,0) 0%, rgb(218, 208, 70) 100%);
} .centerh1-green:after {
position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; content: ; border-radius: 3px; background-color: rgb(97,190,54); /* background-image: -webkit-gradient(linear, right top, left top, from(rgba(97,190,54,0)), to(rgb(97,190,54))); background-image: -webkit-linear-gradient(right,rgba(97,190,54,0) 0%, rgb(97,190,54) 100%); background-image: linear-gradient(to left,rgba(97,190,54,0) 0%, rgb(97,190,54) 20%, rgb(97,190,54) 80%, rgb(97,190,54,0) 100%); */
}
.spacer30{
height: 30px;
} .spacer50{
height:50px;
} .center-text-aligner, .center-text-aligner-sidecontent {
margin-left: 7%; margin-right: 7%; text-align: justify;
} /* .center-text-aligner {
margin-top: 100px;
} */ /* page-topを使うのでいらない */ .team-center-aligner {
margin-top: 110px; margin-left: 5%; margin-right: 5%; text-align: justify;
} .cit {
vertical-align: super; font-size: 0.75em;
}
.toggletitle{ /* しかたなく... */
cursor : pointer;
} .toggletitle.re, .toggletitle.ye, .toggletitle.gr {
color: white; text-align: left; font-size: 2rem; font-family: 'Arima Madurai', cursive; font-weight: bold; position: relative; margin-top: 1em; width: 100%; padding: .675em; line-height: 1.25em; border-radius: 10px;
} .toggletitle.re {
background-color: rgb(241,90,34);
} .toggletitle.ye {
background-color: rgb(218, 208, 70);
} .toggletitle.gr {
background-color: rgb(97,190,54);
}
.wordexpl {
margin-top: 20px; margin-right: auto; background-color: white; border-radius: 10px; padding: 5px 30px; border: none; background-color: #eee; font-weight: bold; border: dotted 1px black; box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
} .wordexpl:hover{
background-color: #fff; box-shadow: 0 0 2px rgba(0,0,0,0.2);
} .toggletitle.wordexpl::after{
content: " ∨ ";
} .toggletitle.wordexpl.open::after{
content: " ^ ";
}
.togglebox, .box {
padding: 20px; margin-bottom: 20px; border-radius: 15px;
} .toppage-text.re ,.togglebox.re, .box.re {
background-color:#fce7df; /* #fdfde8 ほんまああああ!!?? */
} .toppage-text.ye, .togglebox.ye, .box.ye {
background-color:#fcf9df;
} .toppage-text.gr, .togglebox.gr, .box.gr {
background-color:rgb(226,239,205);
}
/* switchtab */ .switchtab-area {
font-family: 'Arima Madurai', sans-serif; font-size: 1.5em; font-weight: bold; line-height: 1.5em; height: 8em; margin: 3em auto; display: flex; justify-content: space-between; cursor: pointer;
} @media screen and (min-width:601px) and (max-width:860px) {
.switchtab-area { font-size: 1.2em; }
} @media screen and (max-width:600px) {
.switchtab-area { font-size: 1em; }
} .switchtab br {
height: 0;
} .switchtab-area>.switchtab {
flex-basis: 24%; text-align: center; display: flex; align-items: center;
border: solid 3px rgb(218, 208, 70); border-radius: 10px; box-shadow: 0px 2px 2px 2px rgba(0,0,0,0.3);
} .switchtab-area>.switchtab.sactive {
background-color: #fcf9df; box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}
.switchcontent-area {
margin: 5em auto;
} .switchcontent-area>.switchcontent {
display: none;
} .switchcontent-area>.switchcontent.sshow {
display: block;
}
.linkbutton{
font-size: 2rem; background-color: white; margin-left: auto; margin-right: auto; font-weight: bold; border: solid 2px rgb(97,190,54); width: 500px; height: 150px; border-radius: 250px / 75px; box-shadow: 0px 4px 4px 4px rgba(0,0,0,0.3);
display: flex; align-items: center; justify-content: space-evenly; text-align: center; text-decoration: none; color: black;
} .linkbutton:hover{
/* color: white; */ /* background-color: rgb(97,190,54) !important; */ box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
} @media screen and (max-width:700px) {
.linkbutton{ font-size: 1.5rem; width: 300px; height: 100px; border-radius: 150px / 50px; }
}
.member-container {
margin-top: 50px;
display: flex; justify-content: space-between; flex-wrap: wrap; /* align-items: flex-start; */
} .member-card, .pi-card {
flex-basis: 32%; padding: 15px; border-radius: 5px; background-color: rgba(210, 233, 218, 0.5); line-height: 1.15; /* box-shadow:0px 0px 25px 0px inset #A4D4B5, 0px 0px 25px 0px #A4D4B5; */ box-shadow: inset 0 -1em 3em rgba(255,255,255, 0.75); /* 0 0 0 2px rgb(255,255,255) */ /* 0.3em 0.3em 1em rgba(0,0,0,0.3); */ box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.1); /* padding: 7%; */
display: flex; flex-direction: column;
} .pi-card {
flex-basis: 45%;
} .member-card:not(:last-child) {
margin-bottom: 30px;
} .member-card img, .pi-card img {
display: block; margin-bottom: 15px;
} .member-name {
font-family: 'Raleway' ,sans-serif; font-size: 1.5em; font-weight: 700; margin-bottom: 8px; width: 80%; border-bottom: solid 3px rgb(241,90,34); line-height: 1;
} .member-role {
font-family: 'Raleway' ,sans-serif; font-size: 1.15em; font-weight: 700; width: 80%; margin-bottom: 4px; border-bottom: dotted 2px black;
} .member-year {
font-size: 1.15em; font-weight: 700; width: 80%; border-bottom: dotted 2px black;
} .member-text {
text-align: left; flex-grow: 1; margin-top: 15px; margin-right: 5%; margin-left: 5%; font-size: 1.1em;
}
@media screen and (min-width : 651px) and (max-width : 1200px) {
.member-card, .pi-card { flex-basis: 49%; }
} @media screen and (max-width : 650px) {
.member-card { flex-basis: 100%; }
}
.member-image {
display: block;
}
.vinenobinobi {
background-position: center; background-image: url('https://static.igem.org/mediawiki/2021/0/05/T--Kyoto--vine-asagao.png'); background-repeat: repeat-y; background-size: 7% auto;
} .box.right {
margin-left: 57.5%; margin-right: 0%;
} .box.left {
margin-right: 57.5%; margin-left: 0%;
}
/* footer */ hr#footer-divider {
margin: 60px 2.5%;
} .footer-wrapper {
display: flex; flex-direction: column; flex-wrap: wrap; justify-content: space-between; margin: 5% 10%;
}
.contact-folder {
padding: 15px; margin-left: auto; margin-right: auto;
} .contact-folder a{
text-decoration: none;
} .contact-folder svg {
display: inline; color: black;
} .contact-title {
font-family: 'Raleway', sans-serif; font-size: 1.35rem; /* text-align: center; */ margin: 10px auto 10px 30px;
} .fbwrapper { /* titleじゃないほう */
display: flex; flex-wrap: wrap; flex-direction: column;
}
.logo-folder {
padding: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-evenly; /* padding: 15px; */
} .logo-folder>img {
display: block; margin: 12px 24px; max-width: 128px; max-height: 128px;
} .logo-folder>a {
display: block; margin: 12px 24px; max-width: 128px; max-height: 128px;
} .logo-folder>a>img {
max-width: 100%; max-height: 100%;
}
/* -------- bootstrap elements ----------- */ .navbar {
font-family: 'Raleway', sans-serif; font-weight: 600; margin-bottom: 20px; /* font-size: 1.25rem; */
} a.navbar {
text-decoration: none;
} a.nav-link {
color: whitesmoke !important;
} a.dropdown-item {
color: black; text-decoration: none;
} .bd-placeholder-img {
font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; user-select: none;
} @media (min-width: 768px) {
.bd-placeholder-img-lg { font-size: 3.5rem; }
}
.toppage-title {
margin: 70px auto; font-family:'Arima Madurai', cursive; font-weight: bold; font-size: 3rem; text-align: center; line-height: 1.25em;
} .toppage-text{
padding: 3em; margin: 3em; /* 左右 7% */ font-size: 1.2em; border-radius: 2em;
} .toppage-image {
display: block; margin: 50px auto; width: 100%; height: auto; margin-bottom: 30px;
} .toppage-image-small {
display: block; margin: 50px auto; padding-left: 7%; padding-right: 7%; width: 100%; height: auto;
}