forked from Tulas-Institute/gettingStartedWithGithubInTula
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHackathon.css
More file actions
114 lines (107 loc) · 2.15 KB
/
Hackathon.css
File metadata and controls
114 lines (107 loc) · 2.15 KB
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
*{
margin: 0;
padding: 0;
font: sans-serif;
box-sizing: border-box;
}
.Container{
background-image: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),url("black.jpg");
}
body{
background: white;
background-size: cover;
}
header{
position: fixed;
top: 0;
left: 0;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
transition: 0.6s;
padding: 40px 100px;
background-color: rgb(0, 132, 255);
}
header .logo{
position: relative;
font-weight: 700;
color: black;
text-decoration: none;
font-size: 2em;
text-transform: uppercase;
letter-spacing: 2px;
transition: 0.6s;
border-radius: 15px;
border: 2px solid none;
padding: 5px;
}
header ul{
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
header ul li{
position: relative;
list-style: none;
}
header ul li a{
position: relative;
margin: 0 15px;
text-decoration: none;
color: black;
letter-spacing: 2px;
font-weight: 500px;
transition: 0.6s;
border-radius: 15px;
padding: 5px;
font-size: 1.1em;
}
.logo:hover{
background-color: whitesmoke;
border:
}
header ul li a:hover{
background-color: whitesmoke;
}
/* Float four columns side by side */
.column {
justify-content: center;
align-items: center;
width: 25%;
padding: 100px 30px;
margin-top: 10%;
}
/* Remove extra left and right margins, due to padding in columns */
.row
{
margin: 0 -5px;
justify-content: center;
align-items: center;
display: flex;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Style the counter cards */
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
padding: 16px;
text-align: center;
background-color: #f1f1f1;
}
img {
width: 100%;
}
/* Responsive columns - one column layout (vertical) on small screens */
@media screen and (max-width: 600px) {
.column {
width: 100%;
display: block;
margin-bottom: 20px;
}
}