-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle12.css
115 lines (95 loc) · 2.04 KB
/
style12.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Roboto', Arial, Helvetica, sans-serif;
background-color:#545677;
}
header{
width: 100%;
}
header h1{
font-size: 36px;
text-align: center;
font-weight: bold;
color: #CD8987;
text-shadow: 2px 0px #F3A712;
margin-top: 20px;;
}
header nav{
display: flex;
justify-content:center;
align-items: center;
width: 100%;
margin-top: 20px;
background-color:#cc5b53;
border-bottom: 2px solid #ff5050;
position: sticky;
}
header nav ul{
display: inline-flex;
flex-wrap: wrap;
gap: 40px;
list-style: none;
}
header nav ul li a{
text-decoration: none;
color: #fff;
}
header nav ul li{
padding: 10px 0;
}
header #banner{
max-width: 100%;
height: 500px;
background-image: url('https://hermes.digitalinnovation.one/articles/cover/0ff63dcf-5461-4fea-b30c-ee8718f469f1.png');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
h2{
text-align: center;
margin: 20px 0;
color: #fff
}
.box{
display: inline-flex;
width: 100%;
flex-wrap: wrap;
gap:40px;
justify-content: center;
align-items: center;
margin-bottom: 20px;
}
.box .box-1, .box-2, .box-3{
display: flex;
flex-direction: column;
align-items: center;
width: 200px;
min-height: 250px;
background-color: #F7FFF7;
border-radius: 5px;
box-shadow: 0 1px 2px 3px #F3A712;
}
figure img{
border-radius: 5px 5px 0 0;
}
.box-1 a , .box-2 a, .box-3 a{
text-decoration: none;
width: 160px;
color: #fff;
background-color: #F3A712;
text-align: center;
border-radius: 3px;
padding: 5px 0;
margin: 10px 0;
}
footer a img{
width: 200px;
position: fixed;
bottom: 100px;
right:50px;
}