Skip to content

Commit

Permalink
pequenos ajustes de hovers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gs1lver committed Nov 6, 2023
1 parent a02adb2 commit e785574
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 12 deletions.
7 changes: 3 additions & 4 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="content">
<ul class="social-media">
<li>
<a href="https://github.com/dancarinos"
<a href="https://github.com/commandee" target="_blank"
><img src="/icon-github.svg" alt="" /></a
>
</li>
Expand Down Expand Up @@ -55,18 +55,17 @@
justify-content: center;
align-items: center;
gap: 0.5rem;

}

nav a{
nav a {
color: var(--textolight);
}

nav a:hover {
color: lightgrey;
}

li>a>img:hover {
li > a > img:hover {
transform: scale(1.1);
}
</style>
23 changes: 22 additions & 1 deletion src/components/FormCadastro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ import Form from "./Form.astro";
<button class="button" type="submit">
<span class="button-content">Cadastrar</span>
</button>
<span>Já tem uma conta? <a href="/login">Faça login aqui!</a></span>

</Form>

<div class="imagem">
Expand Down Expand Up @@ -92,7 +94,6 @@ import Form from "./Form.astro";
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;

grid-area: form;
}
Expand All @@ -109,13 +110,33 @@ import Form from "./Form.astro";
background-color: var(--secondary);
padding: 0.5rem 1rem !important;
border-radius: 1rem;
margin-bottom: 1.5rem;
}

input:focus {
outline: none;
box-shadow: 0 0 0 1px var(--primary);
}

button{
margin: 1rem 0 0.5rem 0;
width: 100%;
height: 2.5rem !important;
}

span{
font-size: 0.8rem;
margin-top: 0.rem;
}

span a {
color: var(--accent);
}

span a:hover{
text-decoration: underline;
font-weight: bold;
}
@media (max-width: 768px) {

.cadastro {
Expand Down
11 changes: 8 additions & 3 deletions src/components/FormLogin.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import Form from "./Form.astro";
</a>

<span class="cadastro">
Não tem uma conta? faça a sua <a href="/signin">cadastrando-se!</a>
Não tem uma conta? faça a sua <a href="/cadastro">cadastrando-se!</a>
</span>
</Form>

Expand Down Expand Up @@ -170,6 +170,11 @@ import Form from "./Form.astro";
border-radius: 1rem;
}

a.login:hover{
cursor: pointer;
transform: scale(1.05);
}

.login-google {
color: black;
background-color: var(--secondary);
Expand Down Expand Up @@ -201,16 +206,16 @@ import Form from "./Form.astro";
}

.cadastro {
font-size: 0.8rem;
text-align: center;
}

.cadastro a {
font-weight: bold;
color: var(--accent)
}

.cadastro a:hover {
text-decoration: underline;
color: darken(#fc2947, 10%);
font-weight: bold;
}
</style>
1 change: 1 addition & 0 deletions src/components/cards/CardAjuda.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

a:hover{
background-color: lightgray;
transform: scale(1.1);
}

@media only screen and (max-width: 768px) {
Expand Down
8 changes: 4 additions & 4 deletions src/pages/sobre.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import CardTime from "../components/cards/CardTime.astro";
<section class="time">
<CardTime
imagem="https://avatars.githubusercontent.com/u/99834738?v=4"
integrante="Silver"
integrante="Isabela"
funcao="Front-end Developer"
twitter="https://twitter.com/itxsilverhere"
github="https://github.com/Gs1lver"
Expand All @@ -60,14 +60,14 @@ import CardTime from "../components/cards/CardTime.astro";
/>
<CardTime
imagem="https://avatars.githubusercontent.com/u/102124577?v=4"
integrante="Nacrai"
integrante="Davi"
funcao="Full-stack Developer"
twitter="https://twitter.com/metamorf0ses"
twitter="https://twitter.com/unf0rg1vabIe"
github="https://github.com/DavMac606"
/>
<CardTime
imagem="https://avatars.githubusercontent.com/u/102191135?v=4"
integrante="Renato Oliveira"
integrante="Renato"
funcao="Front-end Developer"
twitter=""
github="https://github.com/RenatoOliveiraSantos"
Expand Down

0 comments on commit e785574

Please sign in to comment.