Difference between revisions of "Team:SCU-WestChina/main.css"

 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   <head>
 
   <head>
 
     <style  type="text/css">
 
     <style  type="text/css">
* {
 
    margin: 0;
 
    padding: 0;
 
    line-height: normal;
 
}
 
 
 
.cloud-img {
 
.cloud-img {
 
     width: 100%;
 
     width: 100%;
Line 73: Line 67:
 
     background-color: #8b0000;
 
     background-color: #8b0000;
 
     margin-bottom: 50px;
 
     margin-bottom: 50px;
 +
}
 +
 +
.content-abstract {
 +
    line-height: 32px;
 
}
 
}
  
Line 88: Line 86:
  
 
.img-block .img-title {
 
.img-block .img-title {
     width: 100%;
+
     margin: 0 -30px;
 +
   
 
     height: 30px;
 
     height: 30px;
 
     line-height: 30px;
 
     line-height: 30px;
Line 140: Line 139:
  
 
.summary-content {
 
.summary-content {
 +
    line-height: 32px;
 
     position: relative;
 
     position: relative;
 
     display: none;  
 
     display: none;  
Line 169: Line 169:
 
     bottom: 10px;
 
     bottom: 10px;
 
     color: #8b0000;
 
     color: #8b0000;
 +
    text-decoration: none;
 +
    -webkit-transition: color 0.5s;
 +
    transition: color 0.5s;
 +
}
 +
 +
.link-more:visited {
 +
    color: #8b0000;
 +
    text-decoration: none;
 +
}
 +
 +
.link-more:hover {
 +
    color: #f44336;
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
Line 177: Line 189:
 
     height: 300px;
 
     height: 300px;
 
     background-color: #333333;
 
     background-color: #333333;
 +
   
 
}
 
}
  
Line 182: Line 195:
 
     color: #9a9898;
 
     color: #9a9898;
 
     text-decoration: none;
 
     text-decoration: none;
     -webkit-transition: color 0.5s, -webkit-transform 0.5s;
+
     -webkit-transition: color 0.5s;
     transition: color 0.5s, transform 0.5s;
+
     transition: color 0.5s;
 
}
 
}
  
Line 199: Line 212:
 
     margin: 0 10px;
 
     margin: 0 10px;
 
     display: inline-block;
 
     display: inline-block;
     -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
+
     -webkit-transition: opacity 0.5s;
     transition: opacity 0.5s, transform 0.5s;
+
     transition: opacity 0.5s;
 
}
 
}
  

Latest revision as of 16:49, 31 October 2017