-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (91 loc) · 1.65 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (91 loc) · 1.65 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 1em 0;
text-align: center;
}
nav {
text-align: center;
background-color: #444;
padding: 0.5em 0;
}
nav a {
color: #fff;
margin: 0 15px;
text-decoration: none;
}
section {
padding: 2em;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
h2 {
border-bottom: 2px solid #333;
padding-bottom: 0.5em;
}
.portfolio-item,
.language {
border: 1px solid #ccc;
padding: 1em;
margin: 1em 0;
}
.language {
display: flex;
align-items: center;
}
.language img {
width: 50px;
height: 50px;
margin-right: 15px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1em 0;
}
/* Dropdown container */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown button */
.dropbtn {
background-color: inherit;
border: none;
cursor: pointer;
font-size: 16px;
padding: 14px 16px;
text-decoration: none;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
/* Optional: Show the dropdown menu on click */
.dropdown .dropbtn:focus + .dropdown-content {
display: block;
}