Skip to content

Commit f1c1d18

Browse files
committed
design renovaso
1 parent 46646fe commit f1c1d18

9 files changed

+119
-62
lines changed

block.css

+25-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
font-size: 20px;
77
width: 100vw;
88
gap: 20px;
9+
min-height: 100vh;
10+
scroll-behavior: smooth;
911
}
1012

1113
.Block h1 {
@@ -16,11 +18,33 @@
1618
}
1719

1820
.Dark-Theme {
21+
background-color: rgb(45, 45, 48);
22+
color: rgb(196, 192, 192);
23+
}
24+
25+
.Dark-Theme:hover {
26+
transition: all 1s;
1927
background-color: #2a2a37;
2028
color: rgb(233, 230, 229);
2129
}
2230

2331
.Light-Theme {
24-
background-color: rgb(233, 230, 229);
32+
background-color: rgb(209, 199, 199);
33+
color: rgb(54, 53, 52);
34+
}
35+
36+
.Light-Theme:hover {
37+
transition: all 1s;
38+
background-color: rgb(233, 229, 229);
2539
color: rgb(68, 67, 66);
40+
}
41+
42+
.Block a img:hover {
43+
transition: all 1s;
44+
-webkit-transform: scale(1.1);
45+
-moz-transform: scale(1.1);
46+
-o-transform: scale(1.1);
47+
-ms-transform: scale(1.1);
48+
transform: scale(1.1);
49+
border-radius: 20px;
2650
}

classEntrada.css

+10-5
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
.slider {
1515
display: flex;
16-
height: 100%;
17-
width: 100%;
16+
height: 80vh;
17+
width: 80vw;
1818
align-items: center;
1919
justify-content: center;
2020
margin: auto;
2121
margin-top: 0%;
22-
position: relative;
22+
position: absolute;
2323
}
2424

2525
.slider li {
@@ -29,8 +29,8 @@
2929

3030
.slider img {
3131
margin: auto;
32-
height: 100%;
33-
width: 100%;
32+
height: 80vh;
33+
width: 80vw;
3434
vertical-align: top;
3535
}
3636

@@ -65,10 +65,15 @@
6565
.slider img {
6666
opacity: 0;
6767
visibility: hidden;
68+
transition: opacity 800ms;
6869
}
6970

7071
.slider li input:checked~img {
7172
opacity: 1;
7273
visibility: visible;
7374
z-index: 10;
75+
}
76+
77+
#FPOO p:hover~h1 {
78+
color: red;
7479
}

footer.css

+47-42
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,47 @@
1-
footer {
2-
height: 80px;
3-
display: flex;
4-
flex-direction: row;
5-
align-items: center;
6-
justify-content: space-around;
7-
max-width: 500px;
8-
padding-top: 10px;
9-
}
10-
11-
#contact-Us {
12-
display: flex;
13-
flex-direction: column;
14-
gap: 10px;
15-
height: 100%;
16-
}
17-
18-
footer a {
19-
color: rgb(233, 230, 229);
20-
font-size: 30px;
21-
}
22-
23-
#redes-Sociais-Block {
24-
display: flex;
25-
flex-direction: column;
26-
height: 100%;
27-
}
28-
29-
#links-a {
30-
display: flex;
31-
flex-direction: row;
32-
align-items: center;
33-
justify-content: space-between;
34-
width: 150px;
35-
height: 40px;
36-
}
37-
38-
#links-a a:hover {
39-
transition: all 1s;
40-
color: #c40000;
41-
font-size: 35px;
42-
}
1+
footer {
2+
height: 80px;
3+
display: flex;
4+
flex-direction: row;
5+
align-items: center;
6+
justify-content: space-around;
7+
max-width: 500px;
8+
padding-top: 10px;
9+
}
10+
11+
#contact-Us {
12+
display: flex;
13+
flex-direction: column;
14+
gap: 10px;
15+
height: 100%;
16+
}
17+
18+
footer a {
19+
color: rgb(233, 230, 229);
20+
font-size: 30px;
21+
}
22+
23+
#redes-Sociais-Block {
24+
display: flex;
25+
flex-direction: column;
26+
height: 100%;
27+
}
28+
29+
#links-a {
30+
display: flex;
31+
flex-direction: row;
32+
align-items: center;
33+
justify-content: space-between;
34+
width: 150px;
35+
height: 40px;
36+
}
37+
38+
#links-a a:hover {
39+
transition: all 1s;
40+
color: #c40000;
41+
transition: all 1s;
42+
-webkit-transform: scale(1.1);
43+
-moz-transform: scale(1.1);
44+
-o-transform: scale(1.1);
45+
-ms-transform: scale(1.1);
46+
transform: scale(1.1);
47+
}

fpoo.css

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.FPOO {
22
display: flex;
33
flex-direction: column;
4-
height: 100vh;
54
}
65

76
.FPOO h1 {

img/binarios.jpg

17.2 KB
Loading

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<img src="img/senai-slider3.jpg" />
8484
</li>
8585
</ul>
86-
86+
<script src="slider.js"></script>
8787
</div>
8888
<div id="FPOO" class="FPOO Block Dark-Theme">
8989
<h1>

lima.css

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.LIMA {
22
text-align: justify;
33
width: 100vw;
4-
height: 120vh;
54
}
65

76
#imageLima-Line {

responsividade.css

+5-11
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@
1717
#conteudo-Container {
1818
flex-direction: column;
1919
}
20+
.slider,
21+
.slider img {
22+
height: 50vh;
23+
}
2024
#conteudo-Container {
2125
width: 100vw;
2226
}
23-
.each-VideoAndText {
24-
background-color: black
25-
}
2627
.LIMA p,
2728
.SOP p {
28-
width: 90vw;
29+
width: 100%;
2930
}
3031
article {
3132
width: 90%;
@@ -77,13 +78,6 @@
7778
}
7879
}
7980

80-
@media(max-width: 1087px) {
81-
.FPOO,
82-
.LIMA {
83-
height: 110%;
84-
}
85-
}
86-
8781
@media (min-width: 1238px) {
8882
#aside-FPOO {
8983
justify-content: space-between;

slider.js

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
let time = 5000,
2+
currentImageIndex = 0,
3+
images = document
4+
.querySelectorAll(".slider li img")
5+
max = images.length;
6+
7+
function click(id) {
8+
9+
var element = document.getElementById(id);
10+
if (element.click)
11+
element.click();
12+
else if (document.createEvent) {
13+
var eventObj = document.createEvent('MouseEvents');
14+
eventObj.initEvent('click', true, true);
15+
element.dispatchEvent(eventObj);
16+
}
17+
18+
}
19+
20+
function start() {
21+
setInterval(() => {
22+
23+
24+
click('slide1')
25+
click('slide2')
26+
click('slide3')
27+
28+
}, time)
29+
}
30+
31+
window.addEventListener("load", start)

0 commit comments

Comments
 (0)