Commit 8843c2ea authored by Ysabella Panghulan's avatar Ysabella Panghulan

updated base.css

parent a1145b8b
...@@ -87,6 +87,66 @@ a:visited { ...@@ -87,6 +87,66 @@ a:visited {
bottom: 4rem; bottom: 4rem;
} }
.list {
border-radius: 0.5rem;
width: 80%;
}
h2 {
padding-left: 2.5rem;
padding-bottom: 1rem;
font-size: xx-large;
}
ol {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
column-gap: 1rem;
row-gap: 1rem;
padding: 0;
width: 80%;
margin-right: auto;
margin-left: auto;
counter-reset: my-counter;
list-style-type: none;
}
ol li::before {
content: counter(my-counter);
counter-increment: my-counter;
content: counter(my-counter, decimal-leading-zero) '\A' '\A';
white-space: pre;
font-size: large;
color: #7448F6;
}
li {
padding: 0.80rem;
cursor: pointer;
transition: all 400ms ease;
text-align: center;
}
a {
color: inherit;
text-decoration: none;
}
li:hover {
background-color: #E9E3FE;
color: #7448F6;
border-color: transparent;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
transform: translateY(-5px);
}
@media only screen and (max-width: 780px) {
ol {
display: grid;
grid-template-columns: 1fr;
}
}
@media only screen and (max-width: 1200px) { @media only screen and (max-width: 1200px) {
header { header {
line-height: 1; line-height: 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment