-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
163 lines (158 loc) · 3.07 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
header{
background: CornflowerBlue;
height: 50px;
display: flex;
border: 1px solid black;
}
body,html{
padding: 0;
margin: 0;
}
.wrapper{
min-width: 1300px;
}
#logo {
width: 50px;
height: 50px;
}
.slogan{
align-self: center;
}
.menu{
float:left;
width: 250px;
height: 350px;
background: LightSlateGrey;
text-align: left;
border: 1px solid black;
}
nav{
text-align: inherit;
}
.menu nav ul{
list-style-type: none;
margin: 0;
padding: 0;
}
.menu nav ul li{
border: 1px solid black;
}
.content{
height: 350px;
margin-left: 250px;
background: LightSteelBlue;
border: 1px solid black;
}
.clear{
clear:both;
}
.work{
display: flex;
flex-wrap: wrap;
flex-direction: column;
border: 1px solid black;
flex-grow: 0;
flex-shrink: 0;
justify-content: center;
}
.work .fixed_work{
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
}
.desk{
display: flex;
height: 70px;
background: SlateBlue ;
flex: 0 0 275px;
margin-left: 55px;
margin-top: 10px;
margin-bottom: 10px;
flex-direction: column;
justify-content: center;
border: 1px solid black;
}
.desk:first-child{
margin-left: 0;
}
#special{
position: relative;
}
#special::after{
content: ''; /*because there is nothing between the ' ' the content of the pseudo elements will be blank*/
display: block;
position: absolute; /*for more info on positioning see the Support section below*/
background-color: rgba(220,212,176,0.85); /*using rgba for the colour lets us give the tape some opacity*/
height: 25px;
}
#special::after {
left: 220px; /*distance from the left edge of the box*/
top: 4px; /*distance from the top of the box*/
width: 80px; /*length of the strip of tape*/
/*rotate the tape, this time 20° clockwise*/
-webkit-transform: rotate(20deg);
-moz-transform: rotate(20deg);
-o-transform: rotate(20deg);
-ms-transform: rotate(20deg);
}
.desk:nth-child(3){
}
.desk p{
text-align: center;
}
.examples{
height: 165px;
width: inherit;
position: relative;
border-spacing: 40px;
}
.examples .fixed{
display: table;
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.example{
height: 100px;
min-height: 20px;
max-height: 600px;
width: 40%;
max-width: 100px;
min-width: 300px;
display: inline-block;
display: table-cell;
background: Teal;
vertical-align: middle;
border: 1px solid black;
}
.clients{
display :flex;
flex-direction: row;
}
.client{
height: 60px;
background: DeepSkyBlue;
flex: 1 auto;
display: flex;
text-align: center;
justify-content: center;
border: 1px solid black;
}
.client p{
align-self: center;
}
.contact_us{
width: 100%;
height: 70 px;
background: RoyalBlue ;
justify-content: center;
border: 1px solid black;
display: flex;
}
.contact_us p{
align-self: center;
}