-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
86 lines (84 loc) · 1.4 KB
/
styles.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
*{
font-family: 'IBM Plex Sans', sans-serif;
}
body{
background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5),rgba(0,0,0,0.5),rgba(0,0,0,0)
) ,url("./images/pizza3.jpg");
background-repeat: no-repeat;
background-size: cover;
}
.nav{
display: flex;
justify-content: space-between;
}
.links{
margin: 10px 20px;
}
.links ul{
display: flex;
justify-content: space-around;
}
.links li{
list-style: none;
padding: 0 10px;
}
.links a{
color: white;
text-decoration: none;
}
.links a:hover{
border-bottom: 2px solid white;
}
.logo{
display: flex;
}
.logo h1{
color: white;
margin-left: 20px;
padding-top: 20px;
}
.content{
height: 300px;
width: 400px;
background-color: black;
padding: 20px;
opacity: .9;
margin: 100px 20px 0;
color: white;
}
.content h1{
text-align: center;
}
button{
margin-left: 35%;
border: 1px solid white;
background-color: transparent;
padding: 5px;
}
button a{
color: white;
text-decoration: none;
}
button:hover{
background-color: white;
color: black;
}
@media screen and (max-width: 350px) {
body{
background-size: contain;
}
.links{
margin: 10px 15px;
}
.links li{
list-style: none;
padding: 5px;
}
.content{
max-width: 250px;
height: 400px;
}
button{
margin-left: 30%;
}
}