AB_Website/style.css

189 lines
2.6 KiB
CSS

body {
background-color: #0E1111;
text-align: center;
padding: 20px;
font-family: "Hack", Courier, monospace;
}
h1 {
font-size: 2em;
color: white;
border: 1px solid white;
padding: 10px;
}
h2 {
font-size: 1.5em;
color: white;
font-family: "Terminal", Terminal, monospace;
text-align: center;
padding: 0 20px;
border-bottom: 1px solid white;
}
h2::after {
content: "!";
font-size: 3em;
color: red;
margin-left: 10px;
}
h2::first-letter {
font-size: 2em;
color: red;
}
p {
font-size: 1em;
color: white;
border: 1px solid white;
padding: 10px;
}
ul {
list-style-type: none;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
text-decoration: none;
color: white;
border: 1px solid white;
padding: 10px;
transition: all 0.3s;
}
a:hover {
color: red;
border-color: red;
}
@media only screen and (max-width: 768px) {
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1.2em;
padding: 0 10px;
}
h2::after {
font-size: 2em;
margin-left: 5px;
}
h2::first-letter {
font-size: 1.5em;
}
p {
font-size: 0.9em;
}
li {
margin: 0 5px;
}
a {
font-size: 0.9em;
padding: 5px;
}
}
.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
h1 {
font-size: 3em;
margin-bottom: 1em;
}
h2 {
font-size: 2em;
margin-bottom: 1em;
}
h2 span {
font-size: 2em;
}
p {
font-size: 1.2em;
margin-bottom: 2em;
}
ul {
margin: 0;
padding: 0;
}
li {
display: block;
margin-bottom: 1em;
}
a {
display: inline-block;
padding: 0.5em 1em;
font-size: 1.2em;
border: 2px solid #c1c1c1;
color: white;
text-decoration: none;
transition: background-color 0.3s ease;
}
a:hover {
background-color: white;
color: black;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
body {
margin: 0;
}
.social-icons {
display: flex;
justify-content: center;
align-items: center;
}
.social-icons a {
display: inline-block;
margin: 0 10px;
padding: 0;
margin: 0 0.5em;
color: white;
text-decoration: none;
transition: all 0.3s;
}
.social-icons a:hover {
color: black;
background-color: white;
}
.social-icons a:not(:last-child) {
border-radius: 0;
}
.social-icons a:before {
content: "";
display: none;
}
.social-icons a:not(:last-child):after {
content: "";
display: none;
}