Reformat the css code.
This commit is contained in:
47
style.css
47
style.css
@@ -15,7 +15,10 @@ img {
|
|||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4 {
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -54,10 +57,13 @@ ul#course {
|
|||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
position: fixed; /* Set the navbar to fixed position */
|
position: fixed;
|
||||||
top: 0; /* Position the navbar at the top of the page */
|
/* Set the navbar to fixed position */
|
||||||
|
top: 0;
|
||||||
|
/* Position the navbar at the top of the page */
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%; /* Full width */
|
width: 100%;
|
||||||
|
/* Full width */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
@@ -80,7 +86,8 @@ ul#course {
|
|||||||
|
|
||||||
/* Main content */
|
/* Main content */
|
||||||
.main {
|
.main {
|
||||||
margin-top: 5px; /* Add a top margin to avoid content overlay */
|
margin-top: 5px;
|
||||||
|
/* Add a top margin to avoid content overlay */
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@@ -94,13 +101,11 @@ hr {
|
|||||||
/* font-size:16px; */
|
/* font-size:16px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.notATable > li
|
.notATable>li {
|
||||||
{
|
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notATable > li > *
|
.notATable>li>* {
|
||||||
{
|
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
@@ -157,12 +162,12 @@ background-repeat: no-repeat;
|
|||||||
margin: 40px auto;
|
margin: 40px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.effect2
|
.effect2 {
|
||||||
{
|
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.effect2:before, .effect2:after
|
|
||||||
{
|
.effect2:before,
|
||||||
|
.effect2:after {
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
@@ -181,8 +186,8 @@ background-repeat: no-repeat;
|
|||||||
-ms-transform: rotate(-3deg);
|
-ms-transform: rotate(-3deg);
|
||||||
transform: rotate(-3deg);
|
transform: rotate(-3deg);
|
||||||
}
|
}
|
||||||
.effect2:after
|
|
||||||
{
|
.effect2:after {
|
||||||
-webkit-transform: rotate(3deg);
|
-webkit-transform: rotate(3deg);
|
||||||
-moz-transform: rotate(3deg);
|
-moz-transform: rotate(3deg);
|
||||||
-o-transform: rotate(3deg);
|
-o-transform: rotate(3deg);
|
||||||
@@ -272,9 +277,11 @@ background-repeat: no-repeat;
|
|||||||
0% {
|
0% {
|
||||||
-webkit-transform: translate(-15px);
|
-webkit-transform: translate(-15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
-webkit-transform: translate(15px);
|
-webkit-transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: translate(-15px);
|
-webkit-transform: translate(-15px);
|
||||||
}
|
}
|
||||||
@@ -284,9 +291,11 @@ background-repeat: no-repeat;
|
|||||||
0% {
|
0% {
|
||||||
-webkit-transform: translate(15px);
|
-webkit-transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
-webkit-transform: translate(-15px);
|
-webkit-transform: translate(-15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: translate(15px);
|
-webkit-transform: translate(15px);
|
||||||
}
|
}
|
||||||
@@ -296,9 +305,11 @@ background-repeat: no-repeat;
|
|||||||
0% {
|
0% {
|
||||||
-moz-transform: translate(-15px);
|
-moz-transform: translate(-15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
-moz-transform: translate(15px);
|
-moz-transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-moz-transform: translate(-15px);
|
-moz-transform: translate(-15px);
|
||||||
}
|
}
|
||||||
@@ -308,9 +319,11 @@ background-repeat: no-repeat;
|
|||||||
0% {
|
0% {
|
||||||
-moz-transform: translate(15px);
|
-moz-transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
-moz-transform: translate(-15px);
|
-moz-transform: translate(-15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-moz-transform: translate(15px);
|
-moz-transform: translate(15px);
|
||||||
}
|
}
|
||||||
@@ -320,9 +333,11 @@ background-repeat: no-repeat;
|
|||||||
0% {
|
0% {
|
||||||
transform: translate(-15px);
|
transform: translate(-15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
transform: translate(15px);
|
transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: translate(-15px);
|
transform: translate(-15px);
|
||||||
}
|
}
|
||||||
@@ -332,9 +347,11 @@ background-repeat: no-repeat;
|
|||||||
0% {
|
0% {
|
||||||
transform: translate(15px);
|
transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
transform: translate(-15px);
|
transform: translate(-15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: translate(15px);
|
transform: translate(15px);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user