forked from ThamerMalki/Carta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
94 lines (72 loc) · 1.5 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
87
88
89
90
91
92
.card {
/* Add shadows to create the "card" effect */
margin-top: 10px;
width: 300px;
box-shadow: 0 4px 8px 0 rgba(146, 146, 146, 0.87);
transition: 0.3s;
border-radius: 5px;
}
/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
/* nav bar for two categor */
nav {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: auto;
align-items: center;
text-align: center;
background: #DEB27B;
padding:20px;
font-weight: bolder;
}
@media screen and (max-width: 900px) {
nav {
grid-template-columns: 100%;
grid-template-rows: auto;
grid-gap: 1em;
}
}
.navLinks {
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 1.2em;
text-decoration: none;
color: #545454;
font-weight: 50px;
}
.navLinks:hover {
color: white;
border-left: 1px solid white;
border-right: 1px solid white;
padding: 1em 1em;
}
/* Add some padding inside the card container */
.container {
padding: 2px 16px;
}
#h2 {
color: white;
}
img {
max-width: 100%;
/* border-radius: 5px 5px 0 0; */
}
.butt1{
margin-bottom: 5px;
margin-left: 40%;
margin-right: 60%;
}
.form-control{
text-align: center;
}
.cont{
text-align: center;
}
#nameButt{
background-color: rgb(158, 158, 158);
border-color: rgb(122, 122, 122);
}
.ms-5 {
margin-left: 2rem!important;
}