Difference between revisions of "Template:UCC Ireland/CSS/style"

Line 28: Line 28:
 
border-radius: 10px;
 
border-radius: 10px;
 
padding: 20px;
 
padding: 20px;
-webkit-animation-name: animatebottom;
 
-webkit-animation-duration: 1s;
 
animation-name: animatebottom;
 
animation-duration: 1s;
 
 
}
 
}
  
Line 42: Line 38:
 
     background-color: #ffffff;
 
     background-color: #ffffff;
 
     position: relative;
 
     position: relative;
}
 
 
#loader {
 
position: absolute;
 
left: 50%;
 
top: 60%;
 
z-index: 1;
 
width: 100px;
 
height: 100px;
 
margin: -75px 0 0 -75px;
 
border: 16px solid #f3f3f3;
 
border-radius: 50%;
 
border-top: 16px solid #3498db;
 
width: 80px;
 
height: 80px;
 
-webkit-animation: spin 2s linear infinite;
 
animation: spin 2s linear infinite;
 
}
 
 
@-webkit-keyframes spin {
 
0% {-webkit-transform: rotate(0deg);}
 
100% {-webkit-transform: rotate(360deg);}
 
}
 
 
@keyframes spin {
 
0% {transform: rotate(0deg);}
 
100% {transform: rotate(360deg);}
 
}
 
 
.animate-bottom {
 
position: relative;
 
-webkit-animation-name: animatebottom;
 
-webkit-animation-duration: 1s;
 
animation-name: animatebottom;
 
animation-duration: 1s;
 
}
 
 
@-webkit-keyframes animatebottom {
 
from{bottom:-100px; opacity: 0}
 
to{bottom:0px; opacity: 1}
 
}
 
 
@keyframes animatebottom {
 
from{bottom:-100px; opacity: 0}
 
to{bottom:0px; opacity: 1}
 
}
 
 
#myDiv {
 
display: none;
 
text-align: center;
 
height: 200px;
 
 
}
 
}

Revision as of 14:58, 31 July 2017

  1. sideMenu, #top_title {display:none;}
  2. content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;

}

h1#home_page{ text-align: center; font-family: Helvetica, sans-serif; }

p#home_page { font-family: Helvetica, sans-serif; font-size: 18px; }

div#home_page { width: 95%; margin: auto; }

h1 { text-align: center; }

.content_main { width: 80%; background-color: #f7f7f7; margin: auto; border-radius: 10px; padding: 20px; }

  1. content {
   width: auto;
   padding: 0px;
   border: none;
   color: black;
   margin: auto;
   background-color: #ffffff;
   position: relative;

}