-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css2.css
131 lines (131 loc) · 2.14 KB
/
styles.css2.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
122
123
124
125
126
127
128
129
130
131
/*styles.css*/
body
{
font-family:Arial, Helvetica, sans-serif;
font-size:18px;
margin:0;
display:grid;
place-items:right;
height:auto;
}
.main-title
{
color:#181717;
font-size:larger;
font-family: Arial, Helvetica, sans-serif;
font-style:oblique;
}
.showcase-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
font-size: 1.6rem;
}
.showcase-container img{
height:500px;
width:1000px;
}
.h1-main title {
text-transform: uppercase;
background-color: gray;
font-style: italic;
font-family:'Courier New', Courier, monospace;
font-display:initial;
}
.h1-display-1 p
{
text-transform: initial;
color:black;
font-size: medium;
font-family:'Courier New', Courier, monospace;
font-display:initial;
}
ul{
margin:0;
padding:0;
list-style: none;
}
nav
{
width:100%;
box-shadow: 0 0 10px rgb( 0 0 0 /8%);
}
.menu{
margin:0;
padding:0;
display:flex;
justify-content:right;
align-items: stretch;
height:70px;
}
.menu li{
display:inline-block;
width:90px;
}
.menu li:hover.submenu{
height:85px;
}
.id{
color:red;
}
.menu>li:hover>a{
color:#181717;
}
.menu>li:hover>a::before{
visibility: visible;
}
#dropdown
{
color: red;
background-color: aliceblue;
font-size: medium;
font-style: italic;
}
.submenu
{
overflow:scroll;
position: absolute;
left:0;
display:flex;
justify-content: center;
align-items:stretch;
width:100%;
background-color: black;
height:0;
line-height:40px;
box-sizing:border-box;
transition:height 0.3s ease-in-out;
}
.menu li .submenu a {
color:#117964;
opacity:0;
font-size:medium
}
.menu>li:hover.submenu a{
opacity:1;
}
.menu>li.submenu a:hover{
background:#ddd;
}
.menu>li a {
position:relative;
height:100%;
}
.menu>li>a::before{
content:"";
position:absolute;
width:100%;
height:3px;
bottom:3px;
left:0px;
background:mediumslateblue;
transition: all 0.2s ease-in-out;
visibility:hidden
}
.logo {
order: 1;
font-size: 2.3rem;
margin-bottom: 0.5rem;
}