Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CSS #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trilha de CSS - DIO</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="banner">
Expand Down Expand Up @@ -37,7 +38,7 @@ <h2>O que vou aprender?</h2>
</div>
</section>
<section id="transform-world">
<p>TRANSFORME O MUNDO COM A GENTE</p>
<p><strong>TRANSFORME O <p>MUNDO</p> <p>COM A GENTE!!</strong></p></p>
</section>
<section id="professional-challenges">
<h2>Evolua e encare novos desafios profissionais</h2>
Expand Down
124 changes: 124 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
color: rgb(255, 255, 255);
background-color: #252525;
}

header.banner {
background-image: url(assets/images/banner.png);
background-color: #111111;
color: rgb(255, 248, 248);
padding: 20px;
text-align: center;
}

.banner-content .logo img {
max-width: 100px;
margin-bottom: 10px;
}

h1 {
font-size: 2.5em;
margin: 0;
}

p {
font-size: 1.2em;
}

button {
background-color: #374cc4;
border: 10px;
color: #ffffff;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
margin-top: 20px;
}

button:hover {
background-color: #0921a7;
color: #ffffff;
}

main {
padding: 20px;
}

section#course-content {
background-color: #252525;
padding: 20px;
margin-bottom: 20px;
}

section#course-content h2 {
font-size: 2em;
margin-top: 0;
}

.modules-list .module {
background-color: #141414;
border-radius: 10px;
padding: 10px;
margin-bottom: 10px;
}

section#transform-world {
background-image: url('assets/images/woman-code.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: white;
text-align:left;
padding: 100px 20px;
margin-bottom: 20px;
position: relative;

}

section#transform-world p {
font-family: Blippo;
font-size: 3.5em;
margin: 0;
background: linear-gradient(to right, #560ae2, #ff3300);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

text-shadow: 3px 2px 1px rgba(0, 0, 0, 0.164);
position: relative;
z-index: 1;
}




section#professional-challenges {
text-align: center;
}

section#professional-challenges img {
max-width: 100%;
height: auto;
margin: 20px 0;
}

footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
}

footer a {
color: #ffcc00;
text-decoration: none;
}

footer a:hover {
text-decoration: underline;
}