-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathamontourdeprogrammer.css
109 lines (87 loc) · 1.98 KB
/
amontourdeprogrammer.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
@font-face {
font-family: "Ubuntu Light Italic";
src: url("Ubuntu-L.ttf");
}
body { font-family:"Ubuntu Light Italic"; margin-left: 5%; margin-right: 5%; margin-bottom: 100px; }
figure {max-width: 80%; text-align:center; }
figcaption {max-width: 100%; }
section, .header { max-width:70em; margin:auto; }
section { margin-bottom: 3em; }
dt {font-weight:bolder;margin-top:2em}
.header { text-align:center; }
.main-title {font-style:italic; text-align:center;font-size:2.5em; }
.main-title:before {content:"«"; }
.main-title:after {content:"»"; }
.portrait {max-width:10em; max-height:10em; }
.inspiration {list-style:none; }
.inspiration li {float:left; max-width:10em;margin:2em ; }
@media (max-width: 700px) {
body {font-size: 150%; }
img {max-width: 100%; }
small {font-size: 50% ; }
button {font-size: 100% ; }
}
.header-nav{
text-align: center;
width: 100%;
top: 0;
left: 0;
border-bottom: 1px solid #ffdd00;
}
.header-nav ul li:hover{
background-color: #ffdd00;
}
@media (max-width: 700px) {
body {font-size: 150%; }
img {max-width: 100%; }
small {font-size: 50% ; }
button {font-size: 100% ; }
}
@media screen and (min-width: 900px) {
.header-nav {
background-color:#fff;
position: sticky;
padding:25px 10px;
}
.header-nav ul{
display:inline-flex;
list-style-type:none;
margin:0px;
padding:0px;
float:right;
}
.header-nav ul li{
margin-left:50px;
}
.header-nav ul li a {
color:#000;
text-decoration:none;
}
}
@media screen and (max-width: 900px) {
.header-nav {
padding: 10px 0px;
}
.header-nav ul{
margin: 10px auto;
padding: 0px;
list-style-type: none;
}
.header-nav ul li {
background-color: #e1ff00;
border-bottom: 2px solid white;
padding: .3em 0;
}
.header-nav ul li:hover{
color:#ffffff;
cursor:pointer;
}
.header-nav:hover ul{
visibility: visible;
opacity: 1;
}
.header-nav ul li a {
color:#000;
text-decoration:none;
}
}