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

Line 47: Line 47:
 
position: absolute;
 
position: absolute;
 
left: 50%;
 
left: 50%;
top: 50%;
+
top: 60%;
 
z-index: 1;
 
z-index: 1;
width: 150px;
+
width: 100px;
height: 150px;
+
height: 100px;
 
margin: -75px 0 0 -75px;
 
margin: -75px 0 0 -75px;
 
border: 16px solid #f3f3f3;
 
border: 16px solid #f3f3f3;
 
border-radius: 50%;
 
border-radius: 50%;
 
border-top: 16px solid #3498db;
 
border-top: 16px solid #3498db;
width: 120px;
+
width: 80px;
height: 120px;
+
height: 80px;
 
-webkit-animation: spin 2s linear infinite;
 
-webkit-animation: spin 2s linear infinite;
 
animation: spin 2s linear infinite;
 
animation: spin 2s linear infinite;

Revision as of 14:42, 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; -webkit-animation-name: animatebottom; -webkit-animation-duration: 1s; animation-name: animatebottom; animation-duration: 1s; }

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

}

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

  1. myDiv {

display: none; text-align: center; }