-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (105 loc) · 2.24 KB
/
style.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
.card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 5px; /* 5px rounded corners */
margin: 10px;
}
.messagebox {
margin: 20px;
}
/* Add rounded corners to the top left and the top right corner of the image */
img {
border-radius: 5px 5px 0 0;
}
/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow: 0 12px 24px 0 rgba(0,0,0,0.2);
background-color: rgb(235,235,235)
}
/* Add some padding inside the card container */
.container {
padding: 2px 16px;
}
* {box-sizing: border-box;}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
a {
color: black;
font-weight: bold;
text-decoration: none;
}
h1 {
margin: 10px;
}
h5 {
color: darkgray;
}
.topnav {
display: flex;
overflow: hidden;
background-color: #e9e9e9;
}
.topnav a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #2196F3;
color: white;
}
.topnav .search-container {
display: flex;
float: right;
width: 100%;
}
.topnav input[type=text] {
padding: 6px;
margin: 8px;
font-size: 17px;
border: none;
flex-grow: 1;
}
.topnav .search-container button {
padding: 6px 10px;
margin-top: 8px;
margin-right: 8px;
margin-bottom: 8px;
background: #ddd;
font-size: 17px;
border: none;
cursor: pointer;
}
.topnav .search-container button:hover {
background: #ccc;
}
@media screen and (max-width: 600px) {
.topnav {
display: inherit;
}
.topnav .search-container {
float: none;
display: inherit;
}
.topnav a, .topnav input[type=text], .topnav .search-container button {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
}
}