Difference between revisions of "Template:Kyoto/css/main-stylesheetCSS"

Line 165: Line 165:
 
   */
 
   */
 
   margin: 0;
 
   margin: 0;
   margin-right: 50px;
+
   margin-right: 70px;
 
   font-family: 'Arima Madurai', sans-serif;
 
   font-family: 'Arima Madurai', sans-serif;
 
   font-weight: bold;
 
   font-weight: bold;
Line 707: Line 707:
 
   max-height: 100%;
 
   max-height: 100%;
 
}
 
}
 +
 +
#eiaa .atrbwrapper {
 +
  column-gap: 0;
 +
  row-gap: 1em;
 +
  grid-template-columns: 20fr 80fr;
 +
}
 +
#eiaa .atrbwrapper div:nth-child(odd) {
 +
  font-size: .85em;
 +
  font-weight: normal;
 +
}
 +
#eiaa .atrbwrapper * {
 +
  border: none !important;
 +
}
 +
#eiaa .sidebar-enabler {
 +
  margin-right: 5vw;
 +
}
 +
#eiaa .switchcontent-area {
 +
  margin-top: 2em;
 +
}
 +
  
 
/* -------- bootstrap elements ----------- */
 
/* -------- bootstrap elements ----------- */
Line 738: Line 758:
 
   }
 
   }
 
}
 
}
 
 
.toppage-title {
 
.toppage-title {
 
   margin: 70px auto;
 
   margin: 70px auto;

Revision as of 16:21, 19 October 2021


body {

 font-family:'Nunito Sans',Arial, sans-serif;
 font-size: 1rem;

} a {

 transition: 0.1s;

} main a {

 text-decoration: none;

} .myp ul li {

 list-style: none;
 margin: 0.5em auto;

} .myp ul li::before { content:"- "} button {

 transition: 0.2s;

} em {

 font-style: normal;
 font-weight: bold;

} img {

 display: block;

} .myp {

 font-size: 1em;
 line-height: 1.6;
 margin: 3em 0;

} .myp br {

 display: block;
 content: "";
 height: 1.4em;

} .myp li br {

 height: 0.5em;

} img.h180 {

 display: block;
 max-height: 180px;
 max-width: 100%;

} img.h360 {

 display: block;
 max-height: 360px;
 max-width: 100%;

} img.h540 {

 display: block;
 max-height: 540px;
 max-width: 100%;

} img.h720 {

 display: block;
 max-height: 720px;
 max-width: 100%;

} img.w50 {

 display: block;
 max-width: 50%;

} img.h70 {

 display: block;
 max-width: 100%;
 max-height: 70vh;

} .figs {

 margin: 4em auto;
 width: 95%;
 display: flex;
 flex-direction: column;
 align-items: center;

} .figs img, .div2 img {

 max-width: 100%;

} .figs .legend {

 margin-top: .75em;
 text-align: left;

} .div2 {

 display: flex;
 align-items: center;
 justify-content: space-between;

} .div2>*{

 /* flex-basis: 45%; */
 width: 45%;

}

.div3 {

 display: flex;
 align-items: center;
 justify-content: space-between;

} .div3>* {

 width: 27%;

}

.atrbwrapper {

 display: grid;
 grid-template-columns: 1fr 3fr;
 row-gap: 1em;
 column-gap: 0.5em;

} .atrbwrapper .figs {

 margin: 2em auto;

} .atrbwrapper>div {

 padding-top: 1.5em;
 padding-bottom: .5em;

} .atrbwrapper>div:nth-child(odd) {

 font-weight: bold;
 text-align: left;

} .atrbwrapper>.renmei{

 border-top: dotted rgb(150, 150, 150) 1px;

} .atrbwrapper>div:not(.renmei)+div, .atrbwrapper>:nth-child(1) {

 border-top: dotted rgb(150, 150, 150) 1px;

} .atrbwrapper>.renmei+div+div {

 border-top: none;

} .atrbwrapper .renmei {

 display: flex;
 flex-direction: column;
 justify-content: space-between;

} .atrbwrapper .div2>div {

 text-align: left;

}

.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;
 */
 margin-top: 100px;
 padding-top: 20px;
 width: fit-content;
 margin-bottom: 1em;
 padding-left: 12.5%; /* same as center-text-aligner */
 padding-bottom: .8em;
 border-bottom-right-radius: 30px;
 border-top-right-radius: 30px;
 background-color: #DCF4BD;

} .page-title{

 /*
 margin-left: 10%;
 font-family: 'Arima Madurai', sans-serif;
 font-weight: bold;
 font-size: 3rem;
 */
 margin: 0;
 margin-right: 70px;
 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;

} .indent {

 padding-left: 7%;
 line-height: 1.7;
 margin: 1.75em 0;

} .bigger {

 text-align: left;
 font-weight: bold;
 font-size: 1.4em;

}

.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.5rem;
 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.7rem;
 font-weight: bold;
 margin-top: 2.5em;
 margin-bottom: 0.75em;

/*

 display: inline-block;
 border-bottom: gray 3px dashed; */

} .myh3 {

 text-align: left;
 font-size: 1.25rem;
 font-weight: bold;
 margin-top: 2em;
 margin-bottom: 0.75em;
 padding-left: 1em;
 border-left: solid gray 3px;

}

.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;
 }
 .myh3 {
   font-size: 1.15rem;
 }
 .center-text-aligner {
   margin-left: 7%;
   margin-right: 7%;
 }

} .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%); */

}

.pagenailink{

 text-decoration: none;
 color: black;
 display: inline-block;
 font-weight: bold;
 padding: 5px 10px 3px 10px;
 border: solid 2px white;
 border-radius:10px;

} .pagenailink.gr:hover {

 color: black;
 border-color: rgb(97,190,54);

} /* .pagenailink a.re:hover, .pagenailink a.re.active{

 border-color: #F15A22;

} */ .pagenailink.ye:hover {

 color: black;
 border-color: rgb(218, 208, 70);

}


.spacer30{

 height: 30px;

} .spacer50{

 height:50px;

} .center-text-aligner {

 margin-left: 12.5%;
 margin-right: 12.5%;
 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, .super {

 vertical-align: super;
 font-size: 0.75em;

}

.toggletitle{ /* しかたなく... */

 text-align: left;
 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 {

 width: 50%;
 margin-top: 20px;
 margin-right: auto;
 background-color: white;
 border-radius: 10px;
 padding: 10px 30px;
 border: none;
 background-color: #eee;
 font-weight: bold;
 font-size: 1.25em;
 /* border: dotted 1px black; */
 box-shadow: 0px 2px 2px rgba(0,0,0,0.3);

} .wordexpl:hover{

 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:#fffdeb;

} .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 {

 cursor: pointer;
 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.sactive {

 background-color: #fffdeb;

} .switchtab-area .switchtab.sactive {

 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;

}

.box.yelined {

 border: 2px solid rgb(218, 208, 70);
 padding: 5%; /* for EiAA */

}


.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 !important;

} .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 12px;
 max-width: 100px;
 max-height: 100px;

} .logo-folder>a>img {

 max-width: 100%;
 max-height: 100%;

}

  1. eiaa .atrbwrapper {
 column-gap: 0;
 row-gap: 1em;
 grid-template-columns: 20fr 80fr;

}

  1. eiaa .atrbwrapper div:nth-child(odd) {
 font-size: .85em;
 font-weight: normal;

}

  1. eiaa .atrbwrapper * {
 border: none !important;

}

  1. eiaa .sidebar-enabler {
 margin-right: 5vw;

}

  1. eiaa .switchcontent-area {
 margin-top: 2em;

}


/* -------- 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;
 text-decoration: none !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;

}