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...")
 
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('../fonts/TrajanPro3-Regular.otf');
 
}
 
}
  
@font-face{
+
@font-face {
 
     font-family: 'Geneva';
 
     font-family: 'Geneva';
     src : url('../fonts/Geneva.dfont');
+
     src: url('../fonts/Geneva.dfont');
 
}
 
}
  
@font-face{
+
@font-face {
 
     font-family: 'Chalkboard';
 
     font-family: 'Chalkboard';
     src : url('../fonts/Chalkboard.ttc');
+
     src: url('../fonts/Chalkboard.ttc');
 
}
 
}
  
Line 23: Line 18:
 
     padding-left: 300px;
 
     padding-left: 300px;
 
     padding-right: 300px;
 
     padding-right: 300px;
 
 
}
 
}
  
Line 29: Line 23:
 
     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 35:
  
 
.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 47:
 
     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: 'Geneva';
 +
    padding-left: 10px;
 +
    border-left: 10px solid #1A2640;
 
}
 
}
  
Line 67: Line 61:
 
     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: 'Geneva';
 +
    font-weight: bold;
 +
    text-decoration: underline;
 
}
 
}
  
  
 +
ol,
 +
ul,
 
.content {
 
.content {
 
     margin-top: 20px;
 
     margin-top: 20px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
     color: #FFF;
+
     color: #5C616F;
 
     font-size: 18px;
 
     font-size: 18px;
     line-height: 24px;
+
     line-height: 30px;
 
     font-family: 'Geneva';
 
     font-family: 'Geneva';
 
     text-align: justify;
 
     text-align: justify;
Line 91: Line 89:
 
/* 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 100:
 
}
 
}
  
.card .content {
+
.card .content .description {
 
     text-align: left;
 
     text-align: left;
 +
    padding: 15px !important;
 
}
 
}
  
Line 110: Line 110:
  
 
img {
 
img {
  width: 85%;
+
    width: 85%;
 +
}
 +
 
 +
.next-page-identify {
 +
    height: 50px;
 +
}
 +
 
 +
.ack-logo {
 +
    width: 50%;
 +
    height: 50%;
 +
}
 +
 
 +
.tech {
 +
    width: 20%;
 +
    margin-left: 500px;
 +
}
 +
 
 +
.italic {
 +
    font-style: italic;
 +
}
 +
 
 +
.caption {
 +
    font-weight: bold;
 +
}
 +
 
 +
.results {
 +
    width: 50%;
 +
}
 +
 
 +
.img-same-line {
 +
    width: 40%;
 
}
 
}

Revision as of 19:50, 14 October 2018

@font-face {

   font-family: 'Trajan Pro';
   src: url('../fonts/TrajanPro3-Regular.otf');

}

@font-face {

   font-family: 'Geneva';
   src: url('../fonts/Geneva.dfont');

}

@font-face {

   font-family: 'Chalkboard';
   src: url('../fonts/Chalkboard.ttc');

}

.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: 'Geneva';
   padding-left: 10px;
   border-left: 10px solid #1A2640;

}


.header4 {

   margin-top: 10px;
   margin-bottom: 9px;
   height: 20px;
   line-height: 20px;
   color: #1A2640;
   font-size: 20px;
   font-family: 'Geneva';
   font-weight: bold;
   text-decoration: underline;

}


ol, ul, .content {

   margin-top: 20px;
   margin-bottom: 20px;
   color: #5C616F;
   font-size: 18px;
   line-height: 30px;
   font-family: 'Geneva';
   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: 85%;

}

.next-page-identify {

   height: 50px;

}

.ack-logo {

   width: 50%;
   height: 50%;

}

.tech {

   width: 20%;
   margin-left: 500px;

}

.italic {

   font-style: italic;

}

.caption {

   font-weight: bold;

}

.results {

   width: 50%;

}

.img-same-line {

   width: 40%;

}