File tree Expand file tree Collapse file tree 3 files changed +16
-38
lines changed Expand file tree Collapse file tree 3 files changed +16
-38
lines changed Original file line number Diff line number Diff line change 4
4
< head >
5
5
< meta charset ="UTF-8 " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < meta http-equiv ="X-UA-Compatible " content ="ie=edge " />
8
7
< title > New Tab Notes</ title >
9
- < link rel ="icon " type ="image/png " sizes ="48x48 " href ="icon48.png " />
10
- <!-- <link
11
- rel="stylesheet"
12
- href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css" /> -->
13
8
< link rel ="stylesheet " href ="styles.css " />
14
- < link rel ="preconnect " href ="https://fonts.googleapis.com " />
15
- < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
16
- < link
17
- href ="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Fira+Mono:wght@400;500;700&display=swap "
18
- rel ="stylesheet " />
19
- <!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600|Source+Code+Pro"> -->
20
- <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bitter:400,700&display=swap" /> -->
21
- <!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.5.1/css/all.css"> -->
22
9
</ head >
23
10
24
11
< body >
@@ -49,7 +36,7 @@ <h1 class="nav-title">📝 New Tab Notes</h1>
49
36
href ="https://github.com/semanticdata/firefox-new-tab-notes "
50
37
> ❤</ a
51
38
>
52
- by < a href =" https://github.com/semanticdata " > Miguel Pimentel </ a > .
39
+ in Minneapolis .
53
40
</ p >
54
41
</ footer >
55
42
Original file line number Diff line number Diff line change 1
1
[data-theme = 'light' ] {
2
2
--bg-color : # fff ;
3
+ --textarea-bg-color : # fafafa ;
3
4
--text-color : # 222 ;
4
5
--alt-color : # fafafa ;
5
6
--accent-color : # 9000ff ;
6
7
}
7
8
[data-theme = 'dark' ] {
8
9
--bg-color : # 202020 ;
10
+ --textarea-bg-color : # 202020 ;
9
11
--text-color : # fff ;
10
12
--alt-color : # 1a191b ;
11
13
--accent-color : # e0b0ff ;
12
14
}
15
+ textarea ,
16
+ [data-theme = 'light' ],
17
+ [data-theme = 'dark' ] {
18
+ transition : all 0.4s ease-in-out;
19
+ }
13
20
* {
14
21
box-sizing : border-box;
15
22
}
16
23
html {
17
24
background : var (--bg-color );
25
+ color : var (--text-color );
18
26
}
19
27
body {
20
- background : var (--bg-color );
21
- color : var (--text-color );
22
28
max-width : 80ch ;
23
29
padding-inline : 1rem ;
24
30
margin-inline : auto;
@@ -37,24 +43,18 @@ header {
37
43
flex-grow: 1;
38
44
} */
39
45
footer {
40
- padding-block : 1rem ;
41
- text-align : right;
42
- font-size : 12px ;
46
+ padding-block-end : 1rem ;
47
+ font-size : 14px ;
43
48
}
44
49
textarea {
45
50
background : var (--alt-color );
46
- /* background: var(--bg-color); */
47
51
color : var (--text-color );
48
52
min-height : 100% ;
49
53
padding : 1rem ;
50
54
width : 100% ;
51
55
border-radius : 0.35rem ;
52
- background : # fafafa ;
53
56
font-size : 1.1rem ;
54
57
}
55
- textarea ::placeholder {
56
- color : black;
57
- }
58
58
.heart {
59
59
text-decoration : none;
60
60
}
@@ -68,4 +68,8 @@ button {
68
68
cursor : pointer;
69
69
font-size : 24px ;
70
70
}
71
- /* @media screen and (max-width: 80ch) {} */
71
+ @media screen and (max-width : 80ch ) {
72
+ main {
73
+ flex-grow : 1 ;
74
+ }
75
+ }
Original file line number Diff line number Diff line change 4
4
< head >
5
5
< meta charset ="UTF-8 " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < meta http-equiv ="X-UA-Compatible " content ="ie=edge " />
8
7
< title > Notekeeper</ title >
9
- <!-- <link rel="icon" type="image/png" sizes="48x48" href="icons/icon48.png" /> -->
10
8
< link rel ="icon " type ="image/png " sizes ="64x64 " href ="icons/icon64.png " />
11
9
< link rel ="stylesheet " href ="styles.css " />
12
- < link rel ="preconnect " href ="https://fonts.googleapis.com " />
13
- < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
14
- < link
15
- href ="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Fira+Mono:wght@400;500;700&display=swap "
16
- rel ="stylesheet " />
17
10
</ head >
18
11
19
12
< body >
20
13
< header >
21
- <!-- <h1 class="nav-title">📝 New Tab Notes</h1> -->
22
- <!-- <h1 class="nav-title">
23
- <img src="icons/icon64.png" alt="icon" height="24px" width="24px" />
24
- Notekeeper
25
- </h1> -->
26
-
27
14
< h1 class ="nav-title ">
28
15
< img src ="icons/icon64.png " alt ="icon " height ="32px " width ="32px " />
29
16
Notekeeper
You can’t perform that action at this time.
0 commit comments