-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
145 lines (120 loc) · 1.94 KB
/
main.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
body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body a {
text-decoration: none;
color: white;
}
header,
footer {
text-align: left;
display: flex;
flex-direction: column;
padding: 4rem;
background-color: beige;
min-height: calc(1vh + 6rem);
}
header h1 {
font-weight: bold;
font-size: xx-large;
}
header p {
font-size: x-large;
margin-top: -0.75rem;
}
footer {
text-align: center;
background-color: rgba(128, 128, 128, 0.75);
color: white;
min-height: calc(1vh + 6rem);
}
footer a:hover {
color: beige;
}
#cloud,
#email,
#Music,
#Video,
#Calls,
#Office,
#payment {
background-color: rgba(245, 245, 220, 0.644);
}
.services-container {
padding: 2rem;
text-align: center;
}
.services-container p {
font-size: x-large;
}
.services-container h1 {
display: inline;
border-bottom: 4px solid gray;
}
.services-container h2 {
padding-block: 2rem;
}
.Service {
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
margin-top: 2rem;
}
.Service img {
object-fit: contain;
object-position: 50% 50%;
max-width: 12.4rem;
height: 8rem;
aspect-ratio: 16/9;
}
.element {
position: relative;
transition: background-color 0.5s;
border-radius: 25px;
padding: 0.5rem;
margin: 0.1rem;
}
.element:hover {
background-color: antiquewhite;
}
.element a {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
text-decoration: none;
z-index: 10;
background-color: #FFF;
opacity: 0;
filter: alpha(opacity=1);
}
#mdate {
text-align: right;
font-size: larger;
}
@media screen and (max-width: 768px) {
header,
footer,
.services-container {
padding: 1.5rem;
}
.services-container p {
font-size: larger;
}
.element p {
vertical-align: middle;
}
.Service img {
max-width: 7rem;
height: 4rem;
}
.element {
max-width: 7rem;
}
#mdate {
font-size: smaller;
text-align: left;
}
}