cosmicflow/content/blogs/blog.setup
2024-06-21 23:08:58 +05:30

46 lines
1.3 KiB
Org Mode

# -*- mode: org; -*-
# These are the options for blog pages
# title is automatically set to blog name
#+OPTIONS: num:nil ^:{} toc:nil
The following are the html customiation options
Setting the background color to black
#+HTML_HEAD:<style> body { background-color: #000000; color: #eeeeee;border 5px; padding 5px} </style>
#+HTML_HEAD:<style> pre { background-color: #000000; } </style>
* Margins
** p
#+HTML_HEAD:<style>
#+HTML_HEAD: p {
#+HTML_HEAD: margin-top: 20px;
#+HTML_HEAD: margin-bottom: 20px;
#+HTML_HEAD: margin-left: 30px;
#+HTML_HEAD: margin-right: 30px;
#+HTML_HEAD: }
#+HTML_HEAD:</style>
** h2
#+HTML_HEAD:<style>
#+HTML_HEAD: h2 {
#+HTML_HEAD: margin-top: 20px;
#+HTML_HEAD: margin-bottom: 20px;
#+HTML_HEAD: margin-left: 10px;
#+HTML_HEAD: margin-right: 10px;
#+HTML_HEAD: }
#+HTML_HEAD:</style>
Alligning center blocks to the center
#+HTML_HEAD:<style> .org-center {text-align: center;} </style>
Setting up tables to always be in the center
#+HTML_HEAD:<style> table { margin-left: auto; margin-right:auto; } </style>
Setting up the h2(main) heading
#+HTML_HEAD:<style> h2 {font-size: 35px; color: #a3373c;} </style>
Setting up the h3 heading
#+HTML_HEAD:<style> h3 {font-size: 30px; color: #3778a3; text-align: center;} </style>
#+HTML_HEAD: