-
Notifications
You must be signed in to change notification settings - Fork 0
/
samstyle.css
172 lines (168 loc) · 3.41 KB
/
samstyle.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
list-style-type: none;
text-decoration: none;
}
.navbar ul{
display: flex;
width: 100%;
background-color: black;
}
hr{
height: 1px;
background-color: #ccc;
border: none;
width: 100%;
}
.navbar ul li{
margin: 30px;
padding-right: 10px;
color: #ccc;
font-size: larger;
/* background-color: black; */
}
.navbar ul li:hover{
/* border: 20px; */
/* background-color: green; */
/* border: 1px solid white; */
/* padding: 20px; */
/* margin: 20px; */
padding-right: 10px;
color: white;
/* font-size: x-large; */
/* background-color: black; */
}
.heading{
width: 100vw;
}
.heading h1{
text-align: center;
align-items: center;
color: white;
background-color: black;
font-weight: bold;
padding: 20px;
font-size: 100px;
}
.content{
/* padding-top: 20px; */
display: grid;
/* background-color: aqua; */
/* grid-gap: 10px; */
/* width: 50%; */
grid-template-columns: auto auto;
color: white;
}
.content .item{
padding-top: 20px;
border: 2px solid black;
background-color: black;
/* margin: 20px; */
/* padding: ; */
display: flex;
justify-content: space-around;
/* border-bottom: 1px solid #ccc; */
}
.content .item img{
padding-right: 10px;
}
.content .item1{
padding-top: 20px;
padding-left: 20px;
border: 2px solid black;
background-color: black;
color: white;
grid-area: 1/1/4/2;
}
.content .item1 img{
width: 40%;
height: 50%;
}
.content .item img{
width: 30%;
height: 50%;
}
.card img{
height: 40%;
width: 50%;
}
.section{
width:100 vw;
height:700px;
background-size: cover;
}
.section h1{
text-align: center;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
padding:25px 0;
}
.col{
width:1170px;
margin:auto;
/* border:1px solid red;*/
display:flex;
justify-content: space-around;
flex-wrap: wrap;
}
.section-item{
flex-basis: 23%;
margin:10px 0;
padding:20px 0px;
text-align: center;
box-shadow: 0px 0px 10px 3px lightgray;
}
.section-item p{
padding: 10px;
}
.section-item button{
background-color: rgb(124, 20, 162);
padding:10px 25px;
color:aquamarine;
border: none;
border-radius: 13px;
margin:10px 0;
}
.section-item:hover{
background: rgb(124, 20, 162);
}
.section-item:hover h3,.section-item:hover p{
color:aquamarine;
}
.section-item:hover button{
background: aquamarine;
color:rgb(124, 20, 162);
}
@media only screen and (max-width: 767px){
.content{
/* padding-top: 20px; */
display: grid;
/* background-color: aqua; */
/* grid-gap: 10px; */
/* width: 50%; */
grid-template-columns: auto;
color: white;
/* margin: 10px; */
}
.col{
width: 60%;
margin: auto;
flex-direction: column;
}
.item img{
margin:0px 10px;
}
.section-item{
margin: 10px;
}
.heading{
width: 100%;
}
}
@media only screen and (max-width: 768px)
{
.heading{
width: 100%;
}
}