-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle-strava.css
162 lines (137 loc) · 2.98 KB
/
style-strava.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* pin title of page */
h1_title {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: white;
/* optional: provide a background color if needed */
z-index: 9999;
/* optional: adjust the z-index to ensure it stays on top of other elements */
padding: 20px;
/* adjust the padding according to your preference */
}
h1_title h1 {
margin: 0;
/* remove any default margin of the h1 element */
}
body {
padding-top: 80px;
/* add a top padding to body to create space for the fixed element */
}
/* The sidebar menu */
/* from https://www.w3schools.com/howto/howto_css_fixed_sidebar.asp */
.sidenav {
height: 100%;
/* Full-height: remove this if you want "auto" height */
width: 180px;
/* Set the width of the sidebar */
position: fixed;
/* Fixed Sidebar (stay in place on scroll) */
z-index: 1;
/* Stay on top */
top: 40px;
/* Stay at the top */
left: 0;
overflow-x: hidden;
/* Disable horizontal scroll */
padding-top: 20px;
}
/* When you mouse over the navigation links, change their color */
/*
.sidenav a:hover {
color: #f1f1f1;
}
*/
/* Style page content */
.main {
margin-left: 180px;
/* Same as the width of the sidebar */
padding: 0px 0px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
/*
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
*/
/* Style the submit button with a specific background color etc */
/* input[type=submit] {*/
.navButton {
/* background-color: #4CAF50; */
/* color: white; */
padding: 0px 0px;
/* border: none; */
/* border-radius: 4px; */
cursor: pointer;
height: 30px;
width: 175px
}
/* When moving the mouse over the submit button, add a darker green color */
.navButton:hover {
background-color: #45a049;
}
.navButton:disabled,
button[disabled] {
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}
/* Tooltip text */
/*
.tooltiptext {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
Fade in tooltip
opacity: 0;
transition: opacity 0.3s;
}
*/
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
table {
border: solid 1px grey;
/* padding: 1px */
}
th {
border: solid 1px grey;
/* margin: 1; */
}
td {
border: solid 1px grey;
/* margin: 1; */
}
/* .strava-connect-button {
border: none;
background-color: transparent;
cursor: pointer;
padding: 0;
background-size: cover;
background-repeat: no-repeat;
} */
/* Normal resolution */
/* @media (min-resolution: 1dppx) {
.strava-connect-button {
height: 48px;
}
} */
/* High resolution (2x) */
/* @media (min-resolution: 2dppx) {
.strava-connect-button {
height: 96px;
}
} */