NealCaren commited on
Commit
38de6eb
·
verified ·
1 Parent(s): 6f7f73d

Create academic_style.css

Browse files
Files changed (1) hide show
  1. academic_style.css +126 -0
academic_style.css ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* General body styling */
2
+ body {
3
+ font-family: "Georgia", "Times New Roman", serif;
4
+ background-color: #f9f9f9;
5
+ color: #333;
6
+ margin: 0;
7
+ padding: 0;
8
+ line-height: 1.6;
9
+ }
10
+
11
+ /* Header styling */
12
+ h1, h2, h3 {
13
+ font-family: "Merriweather", "Georgia", serif;
14
+ color: #00274d; /* Dark academic blue */
15
+ text-align: center;
16
+ margin-bottom: 20px;
17
+ }
18
+
19
+ h1 {
20
+ font-size: 2.5rem;
21
+ text-transform: uppercase;
22
+ border-bottom: 2px solid #00274d;
23
+ padding-bottom: 10px;
24
+ }
25
+
26
+ /* Markdown content */
27
+ .gr-block-markdown {
28
+ font-size: 1rem;
29
+ line-height: 1.8;
30
+ background: #fff;
31
+ padding: 20px;
32
+ border-radius: 8px;
33
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
34
+ margin-top: 20px;
35
+ }
36
+
37
+ /* Input fields */
38
+ .gr-textbox {
39
+ font-family: "Arial", sans-serif;
40
+ font-size: 1rem;
41
+ padding: 12px;
42
+ border: 1px solid #ddd;
43
+ border-radius: 5px;
44
+ width: 100%;
45
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
46
+ transition: border 0.3s ease;
47
+ }
48
+
49
+ .gr-textbox:focus {
50
+ border: 1px solid #00274d;
51
+ outline: none;
52
+ box-shadow: 0 0 4px rgba(0, 39, 77, 0.2);
53
+ }
54
+
55
+ /* Buttons */
56
+ .gr-button-primary {
57
+ font-family: "Merriweather", "Georgia", serif;
58
+ font-size: 1rem;
59
+ font-weight: bold;
60
+ background-color: #004085; /* Academic dark blue */
61
+ color: #fff;
62
+ border: none;
63
+ border-radius: 5px;
64
+ padding: 10px 20px;
65
+ cursor: pointer;
66
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
67
+ transition: background-color 0.3s ease, transform 0.2s ease;
68
+ }
69
+
70
+ .gr-button-primary:hover {
71
+ background-color: #00274d;
72
+ transform: scale(1.05);
73
+ }
74
+
75
+ /* Layout adjustments */
76
+ .gr-block {
77
+ margin-bottom: 20px;
78
+ padding: 15px;
79
+ background: #fff;
80
+ border: 1px solid #ddd;
81
+ border-radius: 8px;
82
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
83
+ }
84
+
85
+ .gr-row {
86
+ display: flex;
87
+ gap: 20px;
88
+ align-items: flex-start;
89
+ }
90
+
91
+ /* Output styling */
92
+ .gr-markdown {
93
+ font-family: "Georgia", "Times New Roman", serif;
94
+ font-size: 1.1rem;
95
+ line-height: 1.8;
96
+ color: #333;
97
+ padding: 20px;
98
+ background: #f5f5f5;
99
+ border-radius: 8px;
100
+ border-left: 4px solid #004085;
101
+ }
102
+
103
+ /* Footer or progress bar */
104
+ .gr-progress {
105
+ background-color: #e9ecef;
106
+ border-radius: 5px;
107
+ overflow: hidden;
108
+ }
109
+
110
+ .gr-progress-bar {
111
+ background-color: #004085;
112
+ height: 10px;
113
+ transition: width 0.3s ease;
114
+ }
115
+
116
+ /* Links */
117
+ a {
118
+ color: #0056b3;
119
+ text-decoration: none;
120
+ font-weight: bold;
121
+ transition: color 0.3s ease;
122
+ }
123
+
124
+ a:hover {
125
+ color: #00376d;
126
+ }