-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
122 lines (107 loc) · 2.52 KB
/
main.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
html, body {
width: 800px;
height: auto;
margin: 0 auto;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 24px;
text-align: center;
margin-bottom: 20px;
}
.textarea-wrapper {
display: flex;
justify-content: space-between;
gap: 10px;
}
textarea {
width: 100%;
height: 400px; /* Updated height */
resize: none;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
font-size: 12px;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
textarea:focus {
outline: none;
border-color: lightgreen;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
button {
width: 100%;
padding: 15px;
margin-top: 10px;
background-color: lightgreen;
color: white;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: teal;
}
#diffOutput {
width: 100%; /* Ensures it spans the container width */
max-height: 200px; /* Adjust the height as needed */
overflow: auto; /* Adds a scroll bar if content exceeds the height */
border: 1px solid #ccc; /* Optional: Add a border */
border-radius: 5px; /* Optional: Rounded corners */
background-color: #f9f9f9; /* Optional: Light background for contrast */
padding: 10px; /* Adds padding for better readability */
box-sizing: border-box; /* Ensures padding is included in width/height */
white-space: pre-wrap; /* Maintains line breaks in the content */
}
.bg-red-100,
.bg-green-100 {
width: fit-content !important;
}
/* Footer section */
.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: #f9f9f9;
padding: 10px 20px;
position: fixed;
bottom: 0;
width: 100%;
border-top: 1px solid #e5e5e5;
}
.footer-text {
font-size: 16px;
font-weight: 500;
color: #333;
margin-right: 8px;
}
.footer-icon-link {
display: inline-flex;
align-items: center;
color: #333;
text-decoration: none;
}
.footer-icon {
width: 1rem !important; /* Smaller width */
height: 1rem !important; /* Smaller height */
fill: #333;
transition: fill 0.3s ease;
}
.footer-icon-link:hover .footer-icon {
fill: #0366d6; /* GitHub blue */
}