bravo68web-portfolio-nextjs/components/extras.style.jsx

87 lines
1.7 KiB
React
Raw Normal View History

2022-05-02 12:16:18 +00:00
import styled from "styled-components";
export const ExtraStyles = styled.div`
2023-06-12 08:03:13 +00:00
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
2023-07-01 20:40:27 +00:00
padding: 15vh 10vw;
2023-06-13 05:07:09 +00:00
background-image: url("images/pxfuel-5.jpg");
2023-06-12 08:03:13 +00:00
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
overflow-y: scroll !important;
height: 100vh;
.title {
2023-07-01 20:40:27 +00:00
width: 100%;
2023-06-12 08:03:13 +00:00
font-size: 2rem;
font-weight: bold;
background-color: var(--color4);
color: var(--color3);
2023-07-01 20:40:27 +00:00
padding: 0.5rem 1rem;
border-radius:0.1rem;
2023-06-12 08:03:13 +00:00
}
.default {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
/* height: 100vh; */
padding-bottom: 3em;
padding-top: 2em;
2023-06-13 05:07:09 +00:00
gap: 2.5em;
2023-06-12 08:03:13 +00:00
.content {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding-top: 2em;
padding-bottom: 2em;
2023-06-13 05:07:09 +00:00
background-color: var(--color12);
2023-06-12 08:03:13 +00:00
&:hover {
filter: contrast(200%);
-webkit-transform: translateX(-5px) translateY(-5px);
transform: translateX(-5px) translateY(-5px);
transition: 1s ease;
}
.content-description {
width: 100%;
height: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.content-description img {
width: 100px;
}
.content-title {
width: 100%;
height: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
h1 {
font-size: 1.5em;
font-weight: bold;
color: var(--color7);
text-align: center;
margin: 0;
padding: 0;
a {
color: var(--color7);
text-decoration: none;
&:hover {
color: var(--color3);
}
}
}
}
}
}
2022-05-02 12:16:18 +00:00
`;