Override the header template to remove the Roboto font
Using the system font instead
This commit is contained in:
		
							parent
							
								
									924f67d8a8
								
							
						
					
					
						commit
						41fd1576ad
					
				@ -0,0 +1,3 @@
 | 
			
		||||
<style>
 | 
			
		||||
.ui.accordion .title:not(.ui), .ui.button, .ui.card > .content > .header.ui.card > .content > .header, .ui.category.search > .results .category > .name, .ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="file"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="text"], .ui.form input[type="time"], .ui.form input[type="url"], .ui.header, .ui.input > input, .ui.input input, .ui.items > .item > .content > .header, .ui.language > .menu > .item, .ui.list .list > .item .header, .ui.list > .item .header, .ui.menu, .ui.message .header, .ui.modal > .header, .ui.popup > .header, .ui.search > .results .result .title, .ui.search > .results > .message .header, .ui.statistic > .label, .ui.statistic > .value, .ui.statistics .statistic > .label, .ui.statistics .statistic > .value, .ui.steps .step .title, .ui.text.container, h1, h2, h3, h4, h5, body { font-family: apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji; }
 | 
			
		||||
</style>
 | 
			
		||||
@ -56,7 +56,7 @@ directory working_directory do
 | 
			
		||||
  mode  "0750"
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
%w(custom custom/options custom/options/label).each do |path|
 | 
			
		||||
%w(custom custom/options custom/options/label custom/templates custom/templates/custom).each do |path|
 | 
			
		||||
  directory "#{working_directory}/#{path}" do
 | 
			
		||||
    owner "git"
 | 
			
		||||
    group "git"
 | 
			
		||||
@ -70,6 +70,16 @@ cookbook_file "#{working_directory}/custom/options/label/Kosmos" do
 | 
			
		||||
  owner "git"
 | 
			
		||||
  group "git"
 | 
			
		||||
  mode  "0640"
 | 
			
		||||
  notifies :restart, "service[gitea]", :delayed
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
# Kosmos header template
 | 
			
		||||
cookbook_file "#{working_directory}/custom/templates/custom/header.tmpl" do
 | 
			
		||||
  source "custom/templates/custom/header.tmpl"
 | 
			
		||||
  owner "git"
 | 
			
		||||
  group "git"
 | 
			
		||||
  mode  "0640"
 | 
			
		||||
  notifies :restart, "service[gitea]", :delayed
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
directory config_directory do
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user