forked from vudyo/vudyo.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styleflex.css
83 lines (78 loc) · 1.4 KB
/
styleflex.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
#logo {
padding-top: 10px;
padding-left: 10px;
width: 120px;
height: 90px;
}
header {
background: url("https://static1.squarespace.com/static/564380b2e4b042aca2ba66f8/t/56561b46e4b00f188f2d27db/1448483662679/web-skynewblue.png?format=2500w") no-repeat;
height: 600px;
background-position: center;
display: cover;
margin: auto;
}
/* navigation bar */
nav ul li {
float: left;
list-style: none;
}
nav ul li a {
display: block;
font-family: Arial;
font-size:14px;
color: #222;
padding: 40px 14px;
text-decoration: none;
letter-spacing: 1px;
}
.row1 {
display: -webkit-flex;
display: flex;
}
.flex-item {
background-color: cornflowerblue;
width: 100px;
height: 100px;
margin: 10px;
}
.col-xs-2{
flex:2;
}
.col-xs-10 {
flex:10;
}
#own {
background-color: #5e6c74;
}
h1{
font-family: "Rajdhani";
font-size: 39px;
line-height: 1.3em;
text-transform: none;
letter-spacing: 5px;
font-weight: 700;
font-style: normal;
color: #FFF;
text-align: center;
}
.row5 {
display: flex;
}
#contact-btn {
background-color: grey;
color: white; /* White text */
padding: 5px 20px;
cursor: pointer;
float: right;
}
#contact-btn:not(:last-child) {
border-right: none; /* Prevent double borders */
}
#contact-btn:after {
content: "";
clear: both;
}
/* Add a background color on hover */
#contact-btn:hover {
background-color: #3e8e41;
}