-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
95 lines (83 loc) · 1.83 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
body {
overflow-x: hidden;
}
/* CSS */
header {
position: relative;
top: 0;
left: 0;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
box-shadow: 2px 2px 9px grey;
padding: 1em -3em; /* increase vertical padding to 1.5em */
}
.logo {
margin-right: 20px;
}
.logo img {
width: 40px;
height: 40px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav li {
margin-right: 20px;
}
nav li:hover {
background-color: #f7f7f7; /* light gray background on hover */
cursor: pointer; /* change cursor to pointer on hover */
}
nav a {
text-decoration: none;
color: #333; /* default text color */
}
nav a:hover {
color: #00698f; /* blue text color on hover */
}
intro h2 {
font-size: 36px;
font-family: 'Montserrat', sans-serif;
text-align: center;
font-weight: bold; /* make the text bold */
color: #3498db; /* add a touch of blue to the text color */
margin-bottom: 10px; /* add some space between the h2 and h3 elements */
}
intro h3 {
font-family: 'Lato', sans-serif;
margin-left: 20px; /* add some space to the left */
color: #666; /* darken the text color a bit */
}
form {
max-width: 400px;
margin: 40px auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Style the input fields and textarea */
input[type="url"], textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
}
/* Style the submit button */
input[type="submit"] {
background-color: #3498db; /* same blue shade as before */
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #2980b9; /* darker blue shade on hover */
}