commit 11f4ef5a891ba2073b5345a0507a3224cdcc6d8f
parent c85265ff95cf3050727222d14164c4cdc331c1bd
Author: Nick Econopouly <wry@mm.st>
Date: Sun, 22 Mar 2020 18:05:20 -0400
Remove pointless CSS
Diffstat:
2 files changed, 0 insertions(+), 44 deletions(-)
diff --git a/main.go b/main.go
@@ -34,17 +34,6 @@ func windowSetup() *gtk.Window {
window.SetName("main-window") // for css selector
- // set up css stylesheet
- screen, err := gdk.ScreenGetDefault()
- if err != nil {
- log.Fatal("can't get default screen")
- }
- mRefProvider, _ := gtk.CssProviderNew()
- if err := mRefProvider.LoadFromPath("style.css"); err != nil {
- log.Println(err)
- }
- gtk.AddProviderForScreen(screen, mRefProvider, gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
-
return window
}
diff --git a/style.css b/style.css
@@ -1,33 +0,0 @@
-* {
- /* font-size: 110%; */
-}
-
-#main-window {
- background-color: #fffff8;
- color: #333333;
-}
-#main-grid {
- padding: 10px;
- /* border-style: solid; */
- /* border-color: #000000; */
- /* outline-color: #000000; */
- /* outline-style: solid; */
- /* outline-width: 1px; */
- border: 5px solid #1C6EA4;
- /* margin: 5px; */
-
-}
-
-/* subsections */
-grid grid {
- /* background-color: #dddddd; */
-}
-/* section titles */
-.section-title {
- font-weight: bold;
- background-color: #b3b3b3;
-}
-.subheadline {
- font-weight: normal;
- background-color: #dddddd
-}