Difference between revisions of "Template:SYSU-Software/statics/css/global.css"

(Created page with "TODO: 1. ul and ol 2. .header4 3. 副标题 4. caption 表格标题: @font-face{ font-family: 'Trajan Pro'; src : url('../fonts/TrajanPro3-Regular.otf'); } @fon...")
 
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* TODO:
+
@font-face {
1. ul and ol
+
2. .header4
+
3. 副标题
+
4. caption 表格标题  */
+
@font-face{
+
 
     font-family: 'Trajan Pro';
 
     font-family: 'Trajan Pro';
     src : url('../fonts/TrajanPro3-Regular.otf');
+
     src: url('https://static.igem.org/mediawiki/2018/1/1d/T--SYSU-Software--TrajanPro3-Regular.otf');
 
}
 
}
  
@font-face{
+
@font-face {
     font-family: 'Geneva';
+
     font-family: 'Montserrat';
     src : url('../fonts/Geneva.dfont');
+
    font-style: normal;
 +
    font-weight: 400;
 +
     src: url('https://static.igem.org/mediawiki/2018/8/87/T--SYSU-Software--Montserrat-Regular.ttf');
 
}
 
}
  
@font-face{
+
@font-face {
 
     font-family: 'Chalkboard';
 
     font-family: 'Chalkboard';
     src : url('../fonts/Chalkboard.ttc');
+
     src: url('https://static.igem.org/mediawiki/2018/c/c4/T--SYSU-Software--ChalkboardSE-Light.ttf');
 
}
 
}
  
Line 23: Line 20:
 
     padding-left: 300px;
 
     padding-left: 300px;
 
     padding-right: 300px;
 
     padding-right: 300px;
 
 
}
 
}
  
Line 29: Line 25:
 
     margin-top: 20px;
 
     margin-top: 20px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
     padding-right: 20px;  
+
     padding-right: 20px;
 
     height: 60px;
 
     height: 60px;
 
     line-height: 60px;
 
     line-height: 60px;
     color: #FFF;
+
     color: #1A2640;
 
     text-align: right;
 
     text-align: right;
 
     font-size: 40px;
 
     font-size: 40px;
     border-right: 20px solid #FFF;
+
     border-right: 20px solid #1A2640;
 
     font-weight: 700;
 
     font-weight: 700;
 
     font-family: 'Trajan Pro';
 
     font-family: 'Trajan Pro';
Line 41: Line 37:
  
 
.header2 {
 
.header2 {
     margin-top: 20px;
+
     margin-top: 30px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
 
     height: 50px;
 
     height: 50px;
 
     line-height: 50px;
 
     line-height: 50px;
     color: #FFF;
+
     color: #1A2640;
     font-size: 30px;
+
     font-size: 35px;
 
     font-family: 'Trajan Pro';
 
     font-family: 'Trajan Pro';
    text-decoration: underline;
 
 
}
 
}
  
Line 54: Line 49:
 
     margin-top: 20px;
 
     margin-top: 20px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
    height: 50px;
+
     line-height: 40px;
     line-height: 50px;
+
     color: #1A2640;
     color: #FFF;
+
 
     font-size: 30px;
 
     font-size: 30px;
     font-family: 'Trajan Pro';
+
     font-family: 'Montserrat';
 +
    padding-left: 10px;
 +
    border-left: 10px solid #1A2640;
 
}
 
}
  
  
 
.header4 {
 
.header4 {
     margin-top: 10px;
+
     margin: 20px 0;
    margin-bottom: 9px;
+
 
     height: 20px;
 
     height: 20px;
 
     line-height: 20px;
 
     line-height: 20px;
     color: #FFF;
+
     color: #1A2640;
 
     font-size: 20px;
 
     font-size: 20px;
     font-family: 'Geneva';
+
     font-family: 'Montserrat';
 +
    font-weight: bold;
 +
    text-decoration: underline;
 +
}
 +
.header5 {
 +
    margin: 20px, 0;
 +
    font-weight: bold;
 +
    font-size: 20px;
 +
    font-family: 'Montserrat';
 
}
 
}
  
  
 +
ol,
 +
#myfkpage,
 
.content {
 
.content {
 
     margin-top: 20px;
 
     margin-top: 20px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
     color: #FFF;
+
     color: #5C616F;
     font-size: 18px;
+
     font-size: 20px;
     line-height: 24px;
+
     line-height: 35px;
     font-family: 'Geneva';
+
     font-family: 'Montserrat';
 
     text-align: justify;
 
     text-align: justify;
 
}
 
}
Line 91: Line 96:
 
/* card */
 
/* card */
 
.card {
 
.card {
    width: 200px !important;
 
    margin-right: 20px !important;
 
 
     border: none !important;
 
     border: none !important;
 
     border-radius: 0 !important;
 
     border-radius: 0 !important;
 +
    width: calc(33.33333% - 7rem) !important;
 +
    /*33% width*/
 +
    margin-right: 5.5rem !important;
 
}
 
}
  
Line 101: Line 107:
 
}
 
}
  
.card .content {
+
.card .content .description {
 
     text-align: left;
 
     text-align: left;
 +
    padding: 15px !important;
 
}
 
}
  
Line 110: Line 117:
  
 
img {
 
img {
  width: 85%;
+
    width: 75%;
 +
    display: block;
 +
    margin: 0 auto;
 +
}
 +
 
 +
img.icon {
 +
    display: inline;
 +
    width: 30px;
 +
}
 +
 
 +
ul.check {
 +
    list-style: none;
 +
    margin-left: 0;
 +
}
 +
 
 +
ul.check>li::before{
 +
    content: '';
 +
    display: inline-block;
 +
    height: 25px;
 +
    width: 25px;
 +
    background-image: url('https://static.igem.org/mediawiki/2018/f/fd/T--SYSU-Software--check.png');
 +
    background-size: 25px;
 +
    margin-right: 5px;
 +
    margin-top: 20px
 +
}
 +
 
 +
.next-page-identify {
 +
    height: 0px;
 +
}
 +
 
 +
.last-page-identify {
 +
    height: 0px;
 +
}
 +
 
 +
.ack-logo {
 +
    width: 50%;
 +
    height: 50%;
 +
}
 +
 
 +
.tech {
 +
    display: flex;
 +
    flex-direction: row;
 +
    justify-content: center;
 +
    align-items: center;
 +
}
 +
 
 +
.tech>img {
 +
    width: 20%;
 +
}
 +
 
 +
.italic {
 +
    font-style: italic;
 +
}
 +
 
 +
.caption {
 +
    display: block;
 +
    margin: 0 auto;
 +
    text-align: center;
 +
    font-size: 15px;
 +
    font-weight: bold;
 +
    margin: 15px 0;
 +
    text-align: center;
 +
}
 +
 
 +
.results {
 +
    width: 50%;
 +
}
 +
 
 +
.img-same-line {
 +
    width: 40%;
 +
}
 +
 
 +
.page.dimmer {
 +
    background-color: #FFF !important;
 +
}
 +
 
 +
.sticky-navigator {
 +
    margin: 5px;
 +
    height: 40px;
 +
    width: 50px;
 +
    line-height: 40px;
 +
    opacity: 0.6;
 +
    text-align: left;
 +
    cursor: pointer;
 +
    color: #000;
 +
    transition: all 0.5s ease;
 +
    white-space: nowrap;
 +
    overflow: hidden;
 +
}
 +
 
 +
.sticky-navigator > img {
 +
    max-width: 40px;
 +
    vertical-align: middle;
 +
    display: inline;
 +
    width: 80%;
 +
}
 +
 
 +
.sticky-navigator:hover {
 +
    opacity: 0.9;
 +
    width: 140px;
 +
}
 +
 
 +
.sticky-navigator.showtext {
 +
    opacity: 0.9;
 +
    width: 140px;
 +
}
 +
 
 +
.sticky-navigator>.navigator-notice {
 +
    padding-left: 10px;
 +
    white-space: nowrap;
 +
}
 +
 
 +
.bold {
 +
    font-weight: bold;
 +
}
 +
 
 +
ol, ul {
 +
    margin-left: 25px;
 +
}
 +
 
 +
.instructor,
 +
.advisor,
 +
.member {
 +
    display: flex;
 +
    flex-direction: row;
 +
    justify-content: space-around;
 +
    margin: 50px;
 +
}
 +
 
 +
.member>img {
 +
    max-height: 500px;
 +
    max-width: 800px;
 +
    width: auto;
 +
    height: auto;
 +
    margin: 20px;
 +
}
 +
 
 +
.self-info {
 +
    display: flex;
 +
    flex-direction: column;
 +
    justify-content: center;
 +
}
 +
 
 +
.m-title {
 +
    font-weight: bold;
 +
    font-size: 50px;
 +
    line-height: 100px;
 +
}
 +
 
 +
.instructor>img {
 +
    width: 30%;
 +
    height: 30%;
 +
    margin: 20px;
 +
}
 +
 
 +
.advisor>img {
 +
    width: 30%;
 +
    margin: 20px;
 +
}
 +
 
 +
.background-data>img {
 +
    width: 50%;
 +
}
 +
 
 +
.button-override {
 +
    background-color: #e0e1e2!important;
 +
    border: 0 !important;
 +
    box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34,36,38,.15) inset !important;
 +
    max-width: 100% !important;
 +
    padding: 0px !important;
 +
    color: rgba(0,0,0,.6) !important;
 +
    line-height: 30px !important;
 +
}
 +
 
 +
.button-override:hover {
 +
    background-color: #cacbcd !important;
 +
    color: rgba(0, 0, 0, 0.8) !important;
 +
}
 +
 
 +
.wet-valid {
 +
    width: 50%;
 +
}
 +
 
 +
.demo-video {
 +
    margin: 0;
 +
    width: 640px;
 +
    height: 360px;
 
}
 
}

Latest revision as of 22:28, 17 October 2018

@font-face {

   font-family: 'Trajan Pro';
   src: url('https://static.igem.org/mediawiki/2018/1/1d/T--SYSU-Software--TrajanPro3-Regular.otf');

}

@font-face {

   font-family: 'Montserrat';
   font-style: normal;
   font-weight: 400;
   src: url('https://static.igem.org/mediawiki/2018/8/87/T--SYSU-Software--Montserrat-Regular.ttf');

}

@font-face {

   font-family: 'Chalkboard';
   src: url('https://static.igem.org/mediawiki/2018/c/c4/T--SYSU-Software--ChalkboardSE-Light.ttf');

}

.page-container {

   padding-top: 300px;
   padding-left: 300px;
   padding-right: 300px;

}

.header1 {

   margin-top: 20px;
   margin-bottom: 20px;
   padding-right: 20px;
   height: 60px;
   line-height: 60px;
   color: #1A2640;
   text-align: right;
   font-size: 40px;
   border-right: 20px solid #1A2640;
   font-weight: 700;
   font-family: 'Trajan Pro';

}

.header2 {

   margin-top: 30px;
   margin-bottom: 20px;
   height: 50px;
   line-height: 50px;
   color: #1A2640;
   font-size: 35px;
   font-family: 'Trajan Pro';

}

.header3 {

   margin-top: 20px;
   margin-bottom: 20px;
   line-height: 40px;
   color: #1A2640;
   font-size: 30px;
   font-family: 'Montserrat';
   padding-left: 10px;
   border-left: 10px solid #1A2640;

}


.header4 {

   margin: 20px 0;
   height: 20px;
   line-height: 20px;
   color: #1A2640;
   font-size: 20px;
   font-family: 'Montserrat';
   font-weight: bold;
   text-decoration: underline;

} .header5 {

   margin: 20px, 0;
   font-weight: bold;
   font-size: 20px;
   font-family: 'Montserrat';

}


ol,

  1. myfkpage,

.content {

   margin-top: 20px;
   margin-bottom: 20px;
   color: #5C616F;
   font-size: 20px;
   line-height: 35px;
   font-family: 'Montserrat';
   text-align: justify;

}

/* divider */ .ui.divider {

   border-bottom-color: #ffffff !important;
   border-top-color: #ffffff !important;

}

/* card */ .card {

   border: none !important;
   border-radius: 0 !important;
   width: calc(33.33333% - 7rem) !important;
   /*33% width*/
   margin-right: 5.5rem !important;

}

.card .image {

   padding: 30px !important;

}

.card .content .description {

   text-align: left;
   padding: 15px !important;

}

.card .content .header {

   text-align: center;

}

img {

   width: 75%;
   display: block;
   margin: 0 auto;

}

img.icon {

   display: inline;
   width: 30px;

}

ul.check {

   list-style: none;
   margin-left: 0;

}

ul.check>li::before{

   content: ;
   display: inline-block;
   height: 25px;
   width: 25px;
   background-image: url('https://static.igem.org/mediawiki/2018/f/fd/T--SYSU-Software--check.png');
   background-size: 25px;
   margin-right: 5px;
   margin-top: 20px

}

.next-page-identify {

   height: 0px;

}

.last-page-identify {

   height: 0px;

}

.ack-logo {

   width: 50%;
   height: 50%;

}

.tech {

   display: flex;
   flex-direction: row;
   justify-content: center;
   align-items: center;

}

.tech>img {

   width: 20%;

}

.italic {

   font-style: italic;

}

.caption {

   display: block;
   margin: 0 auto;
   text-align: center;
   font-size: 15px;
   font-weight: bold;
   margin: 15px 0;
   text-align: center;

}

.results {

   width: 50%;

}

.img-same-line {

   width: 40%;

}

.page.dimmer {

   background-color: #FFF !important;

}

.sticky-navigator {

   margin: 5px;
   height: 40px;
   width: 50px;
   line-height: 40px;
   opacity: 0.6;
   text-align: left;
   cursor: pointer;
   color: #000;
   transition: all 0.5s ease;
   white-space: nowrap;
   overflow: hidden;

}

.sticky-navigator > img {

   max-width: 40px;
   vertical-align: middle;
   display: inline;
   width: 80%;

}

.sticky-navigator:hover {

   opacity: 0.9;
   width: 140px;

}

.sticky-navigator.showtext {

   opacity: 0.9;
   width: 140px;

}

.sticky-navigator>.navigator-notice {

   padding-left: 10px;
   white-space: nowrap;

}

.bold {

   font-weight: bold;

}

ol, ul {

   margin-left: 25px;

}

.instructor, .advisor, .member {

   display: flex;
   flex-direction: row;
   justify-content: space-around;
   margin: 50px;

}

.member>img {

   max-height: 500px;
   max-width: 800px;
   width: auto;
   height: auto;
   margin: 20px;

}

.self-info {

   display: flex;
   flex-direction: column;
   justify-content: center;

}

.m-title {

   font-weight: bold;
   font-size: 50px;
   line-height: 100px;

}

.instructor>img {

   width: 30%;
   height: 30%;
   margin: 20px;

}

.advisor>img {

   width: 30%;
   margin: 20px;

}

.background-data>img {

   width: 50%;

}

.button-override {

   background-color: #e0e1e2!important;
   border: 0 !important;
   box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34,36,38,.15) inset !important;
   max-width: 100% !important;
   padding: 0px !important;
   color: rgba(0,0,0,.6) !important;
   line-height: 30px !important;

}

.button-override:hover {

   background-color: #cacbcd !important;
   color: rgba(0, 0, 0, 0.8) !important;

}

.wet-valid {

   width: 50%;

}

.demo-video {

   margin: 0;
   width: 640px;
   height: 360px;

}